Update for openstackdocstheme 1.2.3
Also updates conf.py with a new gitrepo syntax. Change-Id: Iee601826922d1fcf445d3ee486c671dc5b20ef17
This commit is contained in:
parent
5324065b56
commit
ccd0db78f6
@ -60,14 +60,16 @@ version = '0.0.1'
|
|||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = '0.0.1'
|
release = '0.0.1'
|
||||||
|
|
||||||
# We ask git for the SHA checksum
|
# A few variables have to be set for the log-a-bug feature.
|
||||||
# The git SHA checksum is used by "log-a-bug"
|
# 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.
|
||||||
|
# These variables are passed to the logabug code via html_context.
|
||||||
|
giturl = u'http://git.openstack.org/cgit/openstack/training-guides/tree/doc/upstream-training/'
|
||||||
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
|
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
|
||||||
gitsha = os.popen(git_cmd).read().strip('\n')
|
gitsha = os.popen(git_cmd).read().strip('\n')
|
||||||
# source tree
|
html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
|
||||||
pwd = os.popen("pwd").read().strip('\n')
|
"giturl": giturl}
|
||||||
# html_context allows us to pass arbitrary values into the html template
|
|
||||||
html_context = {"pwd": pwd, "gitsha": gitsha, "bug_tag": bug_tag}
|
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
# of appearance. Changing the order has an impact on the overall integration
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
doc8 # Apache-2.0
|
doc8 # Apache-2.0
|
||||||
pbr>=0.6,<1.0
|
pbr>=1.6
|
||||||
oslosphinx
|
oslosphinx
|
||||||
openstack-doc-tools>=0.30
|
openstack-doc-tools>=0.30
|
||||||
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
|
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
|
||||||
openstackdocstheme>=1.0.7
|
openstackdocstheme>=1.2.3
|
||||||
hieroglyph>=0.7.1
|
hieroglyph>=0.7.1
|
||||||
bashate # pep8 equivalent for bash scripts
|
bashate # pep8 equivalent for bash scripts
|
Loading…
x
Reference in New Issue
Block a user