fix: ダンジョン・レイド・討滅戦全209ページのヘッダー・サイドバー構造を大元テンプレート(Seesaaニュートラルグレーiframe共通化)に完全統一
This commit is contained in:
1 parent
a653dcb5a6
commit
6d752556d7
217 files changed
+5958
-2770
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import re
|
||||
import sys
|
||||
|
||||
sys.stdout.reconfigure(encoding='utf-8')
|
||||
|
||||
with open('tools/test_convert_preview.py', 'r', encoding='utf-8') as fp:
|
||||
code = fp.read()
|
||||
target = "for p in ['trials/ultima_weapon.html'"
|
||||
exec(code[:code.find(target)])
|
||||
|
||||
with open('dungeons/index.html', 'r', encoding='utf-8') as fp:
|
||||
html = fp.read()
|
||||
res = build_html('dungeons/index.html', html)
|
||||
lines = res.splitlines()
|
||||
print('=== dungeons/index.html PREVIEW (最初の40行) ===')
|
||||
for l in lines[:40]:
|
||||
print(l)
|
||||
print('=== dungeons/index.html PREVIEW (最後の20行) ===')
|
||||
for l in lines[-20:]:
|
||||
print(l)
|
||||
Reference in new issue
Block a user