Re-format URLs in README.md.

This commit is contained in:
Zhang Huangbin 2014-09-19 09:38:47 +08:00
parent 28dacad3a7
commit 1211e0ac7b
2 changed files with 18 additions and 17 deletions

View File

@ -2,31 +2,31 @@
# 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)
* [ How to disable spam virus scanning for outgoing mails](./4-howto/./4-howto/disable.spam.virus.scanning.for.outgoing.mails.md)
* [ Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](./4-howto/./4-howto/howto.configure.thunderbird.for.iredmail.md)
* [ How to enable SMTPS service (SMTP over SSL, port 465)](./4-howto/./4-howto/howto.enable.smtps.service.md)
* [ How to pipe incoming email for certain user to external script ](./4-howto/./4-howto/pipe.incoming.email.for.certain.user.to.external.script.md)
* [ How to quarantine clean mail into SQL database](./4-howto/./4-howto/quarantining.clean.mail.md)
* [ How to force Dovecot to recalculate mailbox quota ](./4-howto/./4-howto/recalculate.mailbox.quota.md)
* [ 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)
* [ How to allow user to send email without authentication ](default/howto/allow.user.to.send.email.without.authentication.md)
* [ Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](default/howto/amavisd.no.x-spam.headers.md)
* [ How to completely disable amavisd/ClamAV/SpamAssassin](default/howto/completely.disable.amavisd.clamav.spamassassin.md)
* [ How to disable spam virus scanning for outgoing mails](default/howto/disable.spam.virus.scanning.for.outgoing.mails.md)
* [ Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](default/howto/howto.configure.thunderbird.for.iredmail.md)
* [ How to enable SMTPS service (SMTP over SSL, port 465)](default/howto/howto.enable.smtps.service.md)
* [ How to pipe incoming email for certain user to external script ](default/howto/pipe.incoming.email.for.certain.user.to.external.script.md)
* [ How to quarantine clean mail into SQL database](default/howto/quarantining.clean.mail.md)
* [ How to force Dovecot to recalculate mailbox quota ](default/howto/recalculate.mailbox.quota.md)
* [ How to store spamassassin bayes in SQL](default/howto/store.spamassassin.bayes.in.sql.md)
* [ How to perform silent/unattended iRedMail installation](default/howto/unattended.iredmail.installation.md)
* [ How to use or migrate password hashes](default/howto/use.or.migrate.password.hashes.md)
# Third-party integrations.
* [ How to install SOGo on CentOS 6 with iRedMail (MySQL backend)](./5-integrations/./5-integrations/sogo-centos-6-iredmail-mysql.md)
* [ How to install SOGo on CentOS 6 with iRedMail (MySQL backend)](default/integrations/sogo-centos-6-iredmail-mysql.md)
# Backup and Restore
* [How to migrate old iRedMail server to the latest stable release](./7-backup-restore/./7-backup-restore/migrate.to.new.iredmail.server.md)
* [How to migrate old iRedMail server to the latest stable release](default/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)
* [ How to turn on debug mode in Dovecot](default/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)
* [ Why append timestamp in maildir path](default/faq/why.append.timestamp.in.maildir.path.md)

View File

@ -84,6 +84,7 @@ for chapter_dir in ${all_chapter_dirs}; do
for article_file in ${all_chapter_articles}; do
article_file_basename="$(basename ${article_file})"
article_html_file="$(strip_name_prefix ${article_file_basename})"
article_file_without_prefix="$(strip_name_prefix ${article_file})"
# Replace '.md' suffix by '.html'
article_html_file="$(echo ${article_html_file/%.md/.html})"
@ -92,7 +93,7 @@ for chapter_dir in ${all_chapter_dirs}; do
_article_title="$(head -1 ${article_file} | awk -F'#' '{print $2}')"
#echo "article title: ${_article_title}"
echo "* [${_article_title}](${chapter_dir_in_article}/${article_html_file})" >> ${INDEX_MD}
echo "* [${_article_title}](${chapter_dir}/${article_file})" >> ${README_MD}
echo "* [${_article_title}](default/${article_file_without_prefix})" >> ${README_MD}
${CMD_CONVERT} ${article_file} ${_output_chapter_dir} title="${_article_title}"
done