This commit is contained in:
Zhang Huangbin 2014-09-16 12:34:01 +08:00
parent 66fee0fffc
commit 0f4238d4cf
2 changed files with 6 additions and 5 deletions

View File

@ -14,10 +14,11 @@ PWD="$(PWD)"
SOURCE_DIR="${PWD}/src"
OUTPUT_DIR="${PWD}/html"
INDEX_MD="${OUTPUT_DIR}/index.md"
CMD_CONVERT="python ${PWD}/tools/markdown2html.py"
[ -d ${OUTPUT_DIR} ] || mkdir -p ${OUTPUT_DIR}
CMD_CONVERT="python ${PWD}/tools/markdown2html.py"
strip_name_prefix()
{
name="${1}"
@ -88,7 +89,7 @@ done
cd ${OUTPUT_DIR}
# Generate index.html
python ../tools/markdown2html.py ${INDEX_MD} .
python ../tools/markdown2html.py ${INDEX_MD} ${OUTPUT_DIR}
# Cleanup
rm -f ${INDEX_MD}

View File

@ -7,6 +7,6 @@
<body>
<h3></h3>
<h1 id="frequently-asked-questions-and-howto-documents"><a href="/Users/zhb/projects/docs/output/faq-howto/_summary.html">Frequently Asked Questions and Howto documents</a></h1>
<h2 id="amavisd-spamassassin-not-working-no-mail-header-x-spam-inserted"><a href="/Users/zhb/projects/docs/output/faq-howto/amavisd_no_x-spam-headers.html"> Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.</a></h2>
<h2 id="how-to-enable-smtps-service-smtp-over-ssl-port-465"><a href="/Users/zhb/projects/docs/output/faq-howto/how-to-enable-smtps-service.html"> How to enable SMTPS service (SMTP over SSL, port 465)</a></h2></body></html>
<h1 id="frequently-asked-questions-and-howto-documents"><a href="/Users/zhb/projects/docs/html/faq-howto/_summary.html">Frequently Asked Questions and Howto documents</a></h1>
<h2 id="amavisd-spamassassin-not-working-no-mail-header-x-spam-inserted"><a href="/Users/zhb/projects/docs/html/faq-howto/amavisd_no_x-spam-headers.html"> Amavisd + SpamAssassin not working, no mail header (X-Spam-*) inserted.</a></h2>
<h2 id="how-to-enable-smtps-service-smtp-over-ssl-port-465"><a href="/Users/zhb/projects/docs/html/faq-howto/how-to-enable-smtps-service.html"> How to enable SMTPS service (SMTP over SSL, port 465)</a></h2></body></html>