diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index 21b3bc5b..3e0c139c 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -1,6 +1,12 @@ Release notes ============= +0.30.1 +------ + +* ``openstack-auto-commands``: Fix option parsing (bug#1488505) +* ``doc-tools-check-languages``: Fix RST Debian Install Guide. + 0.30.0 ------ diff --git a/bin/doc-tools-check-languages b/bin/doc-tools-check-languages index 1f9dfc26..db4e0a36 100755 --- a/bin/doc-tools-check-languages +++ b/bin/doc-tools-check-languages @@ -110,6 +110,12 @@ function build_rst { rsync -a ${DOC_DIR}${book}/build-${tag}/html/ \ publish-docs/${language}/${book}-${tag} done + # Debian Install Guide uses index-debian, we need to rename the file + INSTALL_DEBIAN="publish-docs/${language}/install-guide-debian/" + if [ -f ${INSTALL_DEBIAN}/index-debian.html ] ; then + mv ${INSTALL_DEBIAN}/index-debian.html \ + ${INSTALL_DEBIAN}/index.html + fi else tox -evenv "sphinx-build -q -E -D language=${language} \ ${DOC_DIR}${book}/source/ \ @@ -117,6 +123,13 @@ function build_rst { mkdir -p publish-docs/${language}/${book}/ rsync -a ${DOC_DIR}${book}/build/html/ publish-docs/${language}/${book}/ fi + # Remove newly created files + git clean -f -q ${DOC_DIR}${book}/source/locale/${language}/LC_MESSAGES/*.po + git clean -f -x -q ${DOC_DIR}${book}/source/locale/${language}/LC_MESSAGES/*.mo + git clean -f -q ${DOC_DIR}${book}/source/locale/*.pot + # Revert changes to po file + git reset -q ${DOC_DIR}${book}/source/locale/${language}/LC_MESSAGES/${book}.po + git checkout -- ${DOC_DIR}${book}/source/locale/${language}/LC_MESSAGES/${book}.po }