From 720f14f20a82bdb89261ac9dd10d2f0dad39c21e Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Fri, 19 Sep 2014 09:44:00 +0800 Subject: [PATCH] Re-format URLs in README.md. --- README.md | 32 ++++++++++++++++---------------- convert.sh | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 0b3c7f9a..9aa95a56 100644 --- a/README.md +++ b/README.md @@ -2,31 +2,31 @@ # How to -* [ 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) +* [ How to allow user to send email without authentication ](html/howto/allow.user.to.send.email.without.authentication.md) +* [ Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.](html/howto/amavisd.no.x-spam.headers.md) +* [ How to completely disable amavisd/ClamAV/SpamAssassin](html/howto/completely.disable.amavisd.clamav.spamassassin.md) +* [ How to disable spam virus scanning for outgoing mails](html/howto/disable.spam.virus.scanning.for.outgoing.mails.md) +* [ Configure Thunderbird as mail client (IMAP, SMTP and global ldap address book)](html/howto/howto.configure.thunderbird.for.iredmail.md) +* [ How to enable SMTPS service (SMTP over SSL, port 465)](html/howto/howto.enable.smtps.service.md) +* [ How to pipe incoming email for certain user to external script ](html/howto/pipe.incoming.email.for.certain.user.to.external.script.md) +* [ How to quarantine clean mail into SQL database](html/howto/quarantining.clean.mail.md) +* [ How to force Dovecot to recalculate mailbox quota ](html/howto/recalculate.mailbox.quota.md) +* [ How to store spamassassin bayes in SQL](html/howto/store.spamassassin.bayes.in.sql.md) +* [ How to perform silent/unattended iRedMail installation](html/howto/unattended.iredmail.installation.md) +* [ How to use or migrate password hashes](html/howto/use.or.migrate.password.hashes.md) # Third-party integrations. -* [ How to install SOGo on CentOS 6 with iRedMail (MySQL backend)](default/integrations/sogo-centos-6-iredmail-mysql.md) +* [ How to install SOGo on CentOS 6 with iRedMail (MySQL backend)](html/integrations/sogo-centos-6-iredmail-mysql.md) # Backup and Restore -* [How to migrate old iRedMail server to the latest stable release](default/backup-restore/migrate.to.new.iredmail.server.md) +* [How to migrate old iRedMail server to the latest stable release](html/backup-restore/migrate.to.new.iredmail.server.md) # Troubleshooting and Debug -* [ How to turn on debug mode in Dovecot](default/troubleshooting/turn.on.debug.mode.in.dovecot.md) +* [ How to turn on debug mode in Dovecot](html/troubleshooting/turn.on.debug.mode.in.dovecot.md) # Frequently Asked Questions -* [ Why append timestamp in maildir path](default/faq/why.append.timestamp.in.maildir.path.md) +* [ Why append timestamp in maildir path](html/faq/why.append.timestamp.in.maildir.path.md) diff --git a/convert.sh b/convert.sh index 8609b850..bef7c65b 100644 --- a/convert.sh +++ b/convert.sh @@ -93,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}](default/${article_file_without_prefix})" >> ${README_MD} + echo "* [${_article_title}]($(basename ${OUTPUT_DIR})/${article_file_without_prefix})" >> ${README_MD} ${CMD_CONVERT} ${article_file} ${_output_chapter_dir} title="${_article_title}" done