Set the bug project to openstack-training-guides

Change-Id: I31722aac6a182a2a23cd23ea7fe23ab84d2b0c91
This commit is contained in:
KATO Tomoyuki 2015-12-11 08:52:25 +09:00
parent 20b9bfb937
commit a1be38f6c3
2 changed files with 4 additions and 3 deletions

View File

@ -64,12 +64,13 @@ release = '0.0.1'
# giturl: The location of conf.py on Git. Must be set manually. # 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. # gitsha: The SHA checksum of the bug description. Automatically extracted from git log.
# bug_tag: Tag for categorizing the bug. Must be set manually. # bug_tag: Tag for categorizing the bug. Must be set manually.
# bug_project: Project to file bugs against.
# These variables are passed to the logabug code via html_context. # 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/' 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')
html_context = {"gitsha": gitsha, "bug_tag": bug_tag, html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
"giturl": giturl} "giturl": giturl, "bug_project": "openstack-training-guides"}
# 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.

View File

@ -6,6 +6,6 @@ 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.2.3 openstackdocstheme>=1.2.6
hieroglyph>=0.7.1 hieroglyph>=0.7.1
bashate # pep8 equivalent for bash scripts bashate # pep8 equivalent for bash scripts