Changelogs: move format back to markdown/kramdown to be more compatible with Jekyll

Learn how to export them to the website.

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht
2015-03-10 16:08:19 +01:00
parent c9ce43313f
commit 8229800e0c
4 changed files with 137 additions and 242 deletions

View File

@ -5,7 +5,8 @@
SPHINXBUILD=sphinx-build
TMPDIR='/tmp/offlineimap-sphinx-doctrees'
WEBSITE='../website'
DESTBASE="${WEBSITE}/_doc/versions"
DOCBASE="${WEBSITE}/_doc"
DESTBASE="${DOCBASE}/versions"
VERSIONS_YML="${WEBSITE}/_data/versions.yml"
version="v$(../offlineimap.py --version)"
@ -33,5 +34,8 @@ done > "$VERSIONS_YML"
# Copy usefull sources of documentation.
#
# User doc
for foo in ../Changelog.rst ../Changelog.maint.rst
# Changelogs.
for foo in ../Changelog.md ../Changelog.maint.md
do
cp -afv "$foo" "$DOCBASE"
done