Skip to content

Commit

Permalink
違うmarkdownのlistを参照していたっぽいので修正
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeKato committed Aug 23, 2024
1 parent 73ccd12 commit 84e5b9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
9 changes: 0 additions & 9 deletions scripts/local_update.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,9 @@
# generate markdown list
bash generate_markdown_list.bash

# generate html list
bash generate_html_list.bash

# markdown to html
bash md2html.bash

# delete list
bash delete_list.bash

# generate markdown list
bash generate_markdown_list.bash

# generate html list
bash generate_html_list.bash

Expand Down
6 changes: 5 additions & 1 deletion scripts/md2html.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
with open('./markdown_list.txt', 'r', encoding='UTF-8') as fr:
markdown_files = [rl.rstrip() for rl in fr.readlines()]

markdown_files2 = []
with open('./markdown_list2.txt', 'r', encoding='UTF-8') as fr:
markdown_files2 = [rl.rstrip() for rl in fr.readlines()]

# htmlのファイル名を全て取得
html_files = []
with open('./html_list2.txt', 'r', encoding='UTF-8') as fr:
Expand Down Expand Up @@ -235,7 +239,7 @@
# 読み込み用
read_lines = []
# 読み込み
with open(markdown_files[i], 'r', encoding='UTF-8') as fr:
with open(markdown_files2[i], 'r', encoding='UTF-8') as fr:
read_lines = [rl.rstrip() for rl in fr.readlines()]
if series[j] in read_lines[6]:
title = read_lines[1][8:]
Expand Down

0 comments on commit 84e5b9c

Please sign in to comment.