Merge "Update for openstackdocstheme 1.2.3"
This commit is contained in:
commit
9d3ce05df6
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue