Fix incorrect article links in zh_CN/installation/_links.md.
This commit is contained in:
parent
2160305d67
commit
305720530a
|
@ -90,6 +90,7 @@ for lang in ${all_languages}; do
|
|||
fi
|
||||
done
|
||||
echo -e "\t${_md_lang}\n" >> ${INDEX_MD}
|
||||
unset _md_lang
|
||||
|
||||
# Initial index file.
|
||||
if [ -f ${src_dir}/_title.md ]; then
|
||||
|
@ -133,13 +134,12 @@ for lang in ${all_languages}; do
|
|||
fi
|
||||
fi
|
||||
|
||||
# Article info:
|
||||
# - title: first line (without '#') of markdown file
|
||||
for article_file in ${all_chapter_articles}; do
|
||||
article_counter="$((article_counter+1))"
|
||||
article_file_basename="$(basename ${article_file})"
|
||||
article_html_file_orig="$(strip_name_prefix ${article_file_basename})"
|
||||
# Replace '.md' suffix by '.html', and append lang code
|
||||
|
||||
# Replace '.md' suffix by '-<lang>.html'
|
||||
if [ X"${lang}" == X'en_US' ]; then
|
||||
article_html_file="$(echo ${article_html_file_orig/%.md/.html})"
|
||||
else
|
||||
|
@ -151,7 +151,7 @@ for lang in ${all_languages}; do
|
|||
hide_article_in_index='YES'
|
||||
fi
|
||||
|
||||
# Get title in markdown file: '# title'
|
||||
# Get first line (without the leading '# ') as article title
|
||||
_article_title="$(head -1 ${article_file} | awk -F'# ' '{print $2}')"
|
||||
|
||||
#
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
<li>
|
||||
<p>安装 iRedMail:</p>
|
||||
<ul>
|
||||
<li><a href="./install.iredmail.on.rhel.html">Red Hat Enterprise Linux, CentOS</a></li>
|
||||
<li><a href="./install.iredmail.on.debian.ubuntu.html">Debian, Ubuntu</a></li>
|
||||
<li><a href="./install.iredmail.on.rhel-zh_CN.html">Red Hat Enterprise Linux, CentOS</a></li>
|
||||
<li><a href="./install.iredmail.on.debian.ubuntu-zh_CN.html">Debian, Ubuntu</a></li>
|
||||
<li><a href="./install.iredmail.on.freebsd.html">FreeBSD (without Jail)</a>, <a href="./install.iredmail.on.freebsd.with.jail.html">FreeBSD with Jail (ezjail)</a></li>
|
||||
<li><a href="./install.iredmail.on.openbsd.html">OpenBSD</a></li>
|
||||
</ul>
|
||||
|
@ -44,7 +44,7 @@
|
|||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<p><a href="./performance.tuning.html">Performance tuning for a busy server</a></p>
|
||||
<p><a href="./performance.tuning-zh_CN.html">性能优化</a></p>
|
||||
</li>
|
||||
</ul>
|
||||
<h3 id="_1">迁移</h3>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
* 安装 iRedMail:
|
||||
|
||||
* [Red Hat Enterprise Linux, CentOS](./install.iredmail.on.rhel.html)
|
||||
* [Debian, Ubuntu](./install.iredmail.on.debian.ubuntu.html)
|
||||
* [Red Hat Enterprise Linux, CentOS](./install.iredmail.on.rhel-zh_CN.html)
|
||||
* [Debian, Ubuntu](./install.iredmail.on.debian.ubuntu-zh_CN.html)
|
||||
* [FreeBSD (without Jail)](./install.iredmail.on.freebsd.html), [FreeBSD with Jail (ezjail)](./install.iredmail.on.freebsd.with.jail.html)
|
||||
* [OpenBSD](./install.iredmail.on.openbsd.html)
|
||||
|
||||
|
@ -14,4 +14,4 @@
|
|||
* [Install iRedMail with a remote MySQL server](./install.iredmail.with.remote.mysql.server.html)
|
||||
* [Perform silent/unattended iRedMail installation](./unattended.iredmail.installation.html)
|
||||
|
||||
* [Performance tuning for a busy server](./performance.tuning.html)
|
||||
* [性能优化](./performance.tuning-zh_CN.html)
|
||||
|
|
Loading…
Reference in New Issue