From 6307f50bad106cd67e48e4c15a66951d8f5010f9 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Wed, 17 Sep 2014 22:25:00 +0800 Subject: [PATCH] Change chapter order: 3-faq -> 99-faq. --- {10-faq => 99-faq}/_title.md | 0 .../why.append.timestamp.in.maildir.path.md | 0 README.md | 12 ++++++++++-- convert.sh | 7 ++++--- html/index.html | 10 +++++----- 5 files changed, 19 insertions(+), 10 deletions(-) rename {10-faq => 99-faq}/_title.md (100%) rename {10-faq => 99-faq}/why.append.timestamp.in.maildir.path.md (100%) diff --git a/10-faq/_title.md b/99-faq/_title.md similarity index 100% rename from 10-faq/_title.md rename to 99-faq/_title.md diff --git a/10-faq/why.append.timestamp.in.maildir.path.md b/99-faq/why.append.timestamp.in.maildir.path.md similarity index 100% rename from 10-faq/why.append.timestamp.in.maildir.path.md rename to 99-faq/why.append.timestamp.in.maildir.path.md diff --git a/README.md b/README.md index 297761b5..f7c7457b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# Frequently Asked Questions -* [ Why append timestamp in maildir path](./10-faq/./10-faq/why.append.timestamp.in.maildir.path.md) + # How to + * [ How to allow user to send email without authentication ](./4-howto/./4-howto/allow.user.to.send.email.without.authentication.md) * [ Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](./4-howto/./4-howto/amavisd.no.x-spam.headers.md) * [ How to completely disable amavisd/ClamAV/SpamAssassin](./4-howto/./4-howto/completely.disable.amavisd.clamav.spamassassin.md) @@ -14,7 +14,15 @@ * [ How to store spamassassin bayes in SQL](./4-howto/./4-howto/store.spamassassin.bayes.in.sql.md) * [ How to perform silent/unattended iRedMail installation](./4-howto/./4-howto/unattended.iredmail.installation.md) * [ How to use or migrate password hashes](./4-howto/./4-howto/use.or.migrate.password.hashes.md) + # Backup and Restore + * [How to migrate old iRedMail server to the latest stable release](./5-backup-restore/./5-backup-restore/migrate.to.new.iredmail.server.md) + # Troubleshooting and Debug + * [ How to turn on debug mode in Dovecot](./9-troubleshooting/./9-troubleshooting/turn.on.debug.mode.in.dovecot.md) + +# Frequently Asked Questions + +* [ Why append timestamp in maildir path](./99-faq/./99-faq/why.append.timestamp.in.maildir.path.md) diff --git a/convert.sh b/convert.sh index c6c3f04d..cc9dfc83 100644 --- a/convert.sh +++ b/convert.sh @@ -18,7 +18,8 @@ README_MD="${PWD}/README.md" [ -d ${OUTPUT_DIR} ] || mkdir -p ${OUTPUT_DIR} -CMD_CONVERT="python ${PWD}/tools/markdown2html.py" +#CMD_CONVERT="python ${PWD}/tools/markdown2html.py" +CMD_CONVERT=":" strip_name_prefix() { @@ -62,8 +63,8 @@ for chapter_dir in ${all_chapter_dirs}; do if [ -f ${_title_md} ]; then # generate index info of chapter _chapter_title="$(cat ${_title_md})" - echo "# ${_chapter_title}" >> ${INDEX_MD} - echo "# ${_chapter_title}" >> ${README_MD} + echo -e "\n# ${_chapter_title}\n" >> ${INDEX_MD} + echo -e "\n# ${_chapter_title}\n" >> ${README_MD} if [ -f ${_summary_md} ]; then echo -e "\n\n$(cat ${_title_md})\n\n" >> ${INDEX_MD} diff --git a/html/index.html b/html/index.html index 7b91d7e6..b51ee63e 100644 --- a/html/index.html +++ b/html/index.html @@ -6,11 +6,7 @@ -

Frequently Asked Questions

- -

How to

+

How to