Change chapter order: 3-faq -> 99-faq.

This commit is contained in:
Zhang Huangbin 2014-09-17 22:25:00 +08:00
parent dbd709ecd0
commit 6307f50bad
5 changed files with 19 additions and 10 deletions

View File

@ -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)

View File

@ -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}

View File

@ -6,11 +6,7 @@
</head>
<body>
<h1 id="frequently-asked-questions">Frequently Asked Questions</h1>
<ul>
<li><a href="faq/why.append.timestamp.in.maildir.path.html"> Why append timestamp in maildir path</a></li>
</ul>
<h1 id="how-to">How to</h1>
<h1 id="how-to">How to</h1>
<ul>
<li><a href="howto/allow.user.to.send.email.without.authentication.html"> How to allow user to send email without authentication
</a></li>
@ -34,4 +30,8 @@
<h1 id="troubleshooting-and-debug">Troubleshooting and Debug</h1>
<ul>
<li><a href="troubleshooting/turn.on.debug.mode.in.dovecot.html"> How to turn on debug mode in Dovecot</a></li>
</ul>
<h1 id="frequently-asked-questions">Frequently Asked Questions</h1>
<ul>
<li><a href="faq/why.append.timestamp.in.maildir.path.html"> Why append timestamp in maildir path</a></li>
</ul></body></html>