Fix convert.sh, not empty README.md at the beginning.
This commit is contained in:
parent
72ce17641a
commit
c12612094b
|
@ -1,7 +1,4 @@
|
||||||
# Frequently Asked Questions
|
|
||||||
# How to
|
|
||||||
# Backup and Restore
|
|
||||||
# Troubleshooting and Debug
|
|
||||||
# Frequently Asked Questions
|
# Frequently Asked Questions
|
||||||
* [ Why append timestamp in maildir path](./3-faq/./3-faq/why.append.timestamp.in.maildir.path.md)
|
* [ Why append timestamp in maildir path](./3-faq/./3-faq/why.append.timestamp.in.maildir.path.md)
|
||||||
# How to
|
# How to
|
||||||
|
|
|
@ -41,6 +41,7 @@ all_chapter_dirs="$(find . -d 1 -type d -iname '[0-9]*' | sort)"
|
||||||
# - title: _title.md
|
# - title: _title.md
|
||||||
# - summary: _summary.md
|
# - summary: _summary.md
|
||||||
echo '' > ${INDEX_MD}
|
echo '' > ${INDEX_MD}
|
||||||
|
echo '' > ${README_MD}
|
||||||
for chapter_dir in ${all_chapter_dirs}; do
|
for chapter_dir in ${all_chapter_dirs}; do
|
||||||
# Get articles
|
# Get articles
|
||||||
all_chapter_articles="$(find ${chapter_dir} -depth 1 -type f -iname '[0-9a-z]*.md')"
|
all_chapter_articles="$(find ${chapter_dir} -depth 1 -type f -iname '[0-9a-z]*.md')"
|
||||||
|
|
Loading…
Reference in New Issue