feat: 共通サイドメニューおよびヘッダー・共通JSにギャザクラ総合攻略・育成メニューを追加
This commit is contained in:
1 parent
6d752556d7
commit
a20cd7a783
4 files changed
+49
-4
No files matched your search
@@ -80,6 +80,7 @@
|
||||
<li><a href="../index.html">🏠 トップ</a></li>
|
||||
<li><a href="../equipment/freetrial_gear_guide.html" title="フリートライアル最強装備&IL育成完全ガイド(Lv1〜70全ジョブ対応)">⭐ フリートライアル最強装備</a></li>
|
||||
<li><a href="../mounts/index.html" title="全マウント完全網羅一覧&入手条件詳細ガイド">🐎 マウント完全攻略</a></li>
|
||||
<li><a href="../crafter_gatherer/index.html" title="ギャザラー・クラフター入門&爆速レベリング・マクロ・お得意様完全攻略">🔨 ギャザクラ完全攻略</a></li>
|
||||
<li><a href="../battle_contents/index.html" title="CF・ルーレット・最新トームストーン・コンテンツサポーター・地図・モブハント">⚔️ バトル・ルーレット完全攻略</a></li>
|
||||
<li><a href="../housing/index.html" title="ハウジング土地購入抽選・内装浮かせ・潜水艦ボイジャー金策">🏡 ハウジング・潜水艦完全攻略</a></li>
|
||||
</ul>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
/**
|
||||
|
||||
* FINAL FANTASY XIV 総合攻略Wiki
|
||||
|
||||
@@ -23,6 +23,7 @@ const WIKI_NAV_CONFIG = {
|
||||
{ title: '⭐ フリートライアル最強装備', path: 'equipment/freetrial_gear_guide.html' },
|
||||
|
||||
{ title: '🐎 マウント完全攻略', path: 'mounts/index.html' },
|
||||
{ title: '🔨 ギャザクラ完全攻略', path: 'crafter_gatherer/index.html' },
|
||||
|
||||
{ title: '🏰 ダンジョン完全攻略一覧', path: 'dungeons/index.html' },
|
||||
|
||||
@@ -59,6 +60,7 @@ const WIKI_NAV_CONFIG = {
|
||||
{ text: '⭐ フリートライアル最強装備', path: 'equipment/freetrial_gear_guide.html' },
|
||||
|
||||
{ text: '🐎 マウント総合・全一覧', path: 'mounts/index.html' },
|
||||
{ text: '🔨 ギャザクラ総合攻略・育成', path: 'crafter_gatherer/index.html' },
|
||||
|
||||
{ text: '🏰 ダンジョン完全攻略一覧', path: 'dungeons/index.html' },
|
||||
|
||||
|
||||
+19
-3
@@ -38,9 +38,10 @@
|
||||
<div class="sidebar-content">
|
||||
<ul>
|
||||
<li><a href="../index.html">🏠 Wiki トップ</a></li>
|
||||
<li><a href="../dungeons/index.html">🏰 ダンジョン完全攻略(全90種)</a></li>
|
||||
<li><a href="../trials/index.html">🔥 討伐・討滅戦完全攻略(全70戦)</a></li>
|
||||
<li><a href="../raids/index.html">👑 レイド完全攻略(8人&24人)</a></li>
|
||||
<li><a href="../dungeons/index.html">🏰 ダンジョン完全攻略(全98種)</a></li>
|
||||
<li><a href="../trials/index.html">🔥 討伐・討滅戦完全攻略(全85戦)</a></li>
|
||||
<li><a href="../raids/index.html">👑 レイド完全攻略(全82種)</a></li>
|
||||
<li><a href="../crafter_gatherer/index.html">🔨 ギャザクラ総合攻略・育成</a></li>
|
||||
<li><a href="../battle_contents/index.html">⚔️ バトル・ルーレット完全攻略</a></li>
|
||||
<li><a href="../equipment/freetrial_gear_guide.html">⭐ フリートライアル最強装備</a></li>
|
||||
<li><a href="../mounts/index.html">🐎 マウント総合・全一覧</a></li>
|
||||
@@ -49,6 +50,21 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ギャザラー&クラフター -->
|
||||
<div class="sidebar-box">
|
||||
<div class="sidebar-title">🔨 ギャザラー&クラフター</div>
|
||||
<div class="sidebar-content">
|
||||
<ul>
|
||||
<li><a href="../crafter_gatherer/index.html">ギャザクラ総合トップ・入門</a></li>
|
||||
<li><a href="../crafter_gatherer/leveling_roadmap.html">爆速レベル上げロードマップ</a></li>
|
||||
<li><a href="../crafter_gatherer/leves_gc_supply.html">リーヴ&GC調達納品攻略</a></li>
|
||||
<li><a href="../crafter_gatherer/ishgard_ocean_custom.html">復興・オーシャン・お得意様</a></li>
|
||||
<li><a href="../crafter_gatherer/macros.html">製作・採集おすすめマクロ</a></li>
|
||||
<li><a href="../crafter_gatherer/npc_locations.html">全ギルド・主要NPC座標一覧</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 操作・XHB設計 -->
|
||||
<div class="sidebar-box">
|
||||
<div class="sidebar-title">🎮 XHB・操作設計</div>
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
import sys
|
||||
|
||||
sys.stdout.reconfigure(encoding='utf-8')
|
||||
|
||||
with open('common/js/wiki_common.js', 'r', encoding='utf-8') as f:
|
||||
content = f.read()
|
||||
|
||||
# 1. globalNav に追加(まだなければ)
|
||||
if "{ title: '🔨 ギャザクラ完全攻略', path: 'crafter_gatherer/index.html' }" not in content:
|
||||
target_gnav = "{ title: '🐎 マウント完全攻略', path: 'mounts/index.html' },"
|
||||
replace_gnav = "{ title: '🐎 マウント完全攻略', path: 'mounts/index.html' },\n { title: '🔨 ギャザクラ完全攻略', path: 'crafter_gatherer/index.html' },"
|
||||
if target_gnav in content:
|
||||
content = content.replace(target_gnav, replace_gnav, 1)
|
||||
print("Updated globalNav")
|
||||
|
||||
# 2. sidebar のメインメニューに追加(まだなければ)
|
||||
if "{ text: '🔨 ギャザクラ総合攻略・育成', path: 'crafter_gatherer/index.html' }" not in content:
|
||||
target_sb = "{ text: '🐎 マウント総合・全一覧', path: 'mounts/index.html' },"
|
||||
replace_sb = "{ text: '🐎 マウント総合・全一覧', path: 'mounts/index.html' },\n { text: '🔨 ギャザクラ総合攻略・育成', path: 'crafter_gatherer/index.html' },"
|
||||
if target_sb in content:
|
||||
content = content.replace(target_sb, replace_sb, 1)
|
||||
print("Updated sidebar main menu")
|
||||
|
||||
with open('common/js/wiki_common.js', 'w', encoding='utf-8') as f:
|
||||
f.write(content)
|
||||
print("Saved common/js/wiki_common.js")
|
||||
Reference in new issue
Block a user