From 1763efc4a38c98fa59733f9c1e8dbc9245349c7e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 14 Feb 2014 17:57:19 +0100 Subject: [PATCH] Fix building of image-api-v2 Due to moving files around in the directory, openstack-doc-test did not generate the markdown document correctly. Adjust the test for checking that we build image-api-v2 for the repository renames. Change-Id: Ifdec7e0bdda4f4f4f4110d21b51b76ebe17968a3 --- README.rst | 1 + os_doc_tools/doctest.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 02e6ec7e..7c5cb289 100644 --- a/README.rst +++ b/README.rst @@ -102,6 +102,7 @@ Release notes * Fix openstack-doc-test niceness and syntax checks that always failed in api projects. + * Fix building of image-api-v2 0.7 --- diff --git a/os_doc_tools/doctest.py b/os_doc_tools/doctest.py index e77f944c..1d6b1075 100755 --- a/os_doc_tools/doctest.py +++ b/os_doc_tools/doctest.py @@ -795,7 +795,7 @@ def build_book(book, publish_path, log_path): stderr=subprocess.STDOUT ) # Repository: image-api - elif book.endswith('openstack-image-service-api/src/markdown'): + elif base_book == 'image-api-v2': output = subprocess.check_output( [os.path.join(SCRIPTS_DIR, "markdown-docbook.sh"), "image-api-v2.0"],