Fix for building identity-api
Patch https://review.openstack.org/#/c/94194/ changes the location of the v3 API, handle the new directory. Change-Id: Iadadec17d525acede71853c00ec4f075c75c0a05
This commit is contained in:
parent
4617fb88dc
commit
ec411ebf8e
@ -104,7 +104,7 @@ Release notes
|
||||
subcommand xml output.
|
||||
* ``openstack-doc-tools``: Warn about non-breaking space, enhance
|
||||
-v output, special case building of localized high-availability
|
||||
guide.
|
||||
guide, fix for building changed identity-api repository.
|
||||
* New command ``openstack-jsoncheck`` to check for niceness of JSON
|
||||
files and reformat them.
|
||||
* ``openstack-autohelp``: Update the default parameters. The tables
|
||||
|
@ -810,8 +810,8 @@ def build_book(book, publish_path, log_path):
|
||||
stderr=subprocess.STDOUT
|
||||
)
|
||||
# Repository: identity-api
|
||||
# Let's not check for "v3" but for the full name instead
|
||||
elif book.endswith("openstack-identity-api/v3"):
|
||||
elif (cfg.CONF.repo_name == "identity-api"
|
||||
and book.endswith("v3")):
|
||||
output = subprocess.check_output(
|
||||
["bash", os.path.join(SCRIPTS_DIR, "markdown-docbook.sh"),
|
||||
"identity-api-v3"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user