Merge "Update for openstackdocstheme 1.2.3"

This commit is contained in:
Jenkins 2015-10-13 06:38:57 +00:00 committed by Gerrit Code Review
commit 9d3ce05df6
2 changed files with 2 additions and 4 deletions

View File

@ -70,13 +70,11 @@ release = '0.0.1'
# giturl: The location of conf.py on Git. Must be set manually.
# gitsha: The SHA checksum of the bug description. Automatically extracted from git log.
# bug_tag: Tag for categorizing the bug. Must be set manually.
# pwd: source tree - this is needed only for openstackdocstheme <= 1.2.2
# These variables are passed to the logabug code via html_context.
giturl = u'http://git.openstack.org/cgit/openstack/ha-guide/tree/doc/ha-guide/source'
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
gitsha = os.popen(git_cmd).read().strip('\n')
pwd = os.popen("pwd").read().strip('\n')
html_context = {"pwd": pwd, "gitsha": gitsha, "bug_tag": bug_tag,
html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
"giturl": giturl}
# The language for content autogenerated by Sphinx. Refer to documentation

View File

@ -5,5 +5,5 @@
openstack-doc-tools>=0.31
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
openstackdocstheme>=1.0.3
openstackdocstheme>=1.2.3
doc8 # Apache-2.0