diff --git a/README.rst b/README.rst index 2924e912..8162b892 100644 --- a/README.rst +++ b/README.rst @@ -65,6 +65,10 @@ these files come from. Release notes ============= +0.7 +--- + * Fix building of identity-api and image-api books. + 0.6 --- * Fix python packaging bugs that prevented sitepackages usage and diff --git a/bin/markdown-docbook.sh b/bin/markdown-docbook.sh index cdfae230..36face7c 100755 --- a/bin/markdown-docbook.sh +++ b/bin/markdown-docbook.sh @@ -26,13 +26,14 @@ fi FILENAME=$1 FILEPATH=`find ./ -regextype posix-extended -regex ".*${FILENAME}\.(md|markdown|mdown)"` DIRPATH=`dirname $FILEPATH` +SOURCES=`ls $DIRPATH/*.md` # Check for requirements type -P pandoc > /dev/null 2>&1 || { echo >&2 "pandoc not installed. Aborting."; exit 1; } type -P xsltproc > /dev/null 2>&1 || { echo >&2 "xsltproc not installed. Aborting."; exit 1; } type -P xmllint > /dev/null 2>&1 || { echo >&2 "xmllint not installed. Aborting."; exit 1; } -pandoc -f markdown -t docbook -s ${FILEPATH} |\ +pandoc -f markdown -t docbook -s ${SOURCES} |\ xsltproc -o - ${DB_UPGRADE} - |\ xmllint --format - | \ sed -e "s,