Update for openstackdocstheme 1.2.3

Require new version and cleanup conf.py, we do no need pwd variable
anymore.

Update pbr and hacking requirement - syncing with global requirements.

Change-Id: I53a222445967092e08a1b598a19e8bbe71e378a6
This commit is contained in:
Andreas Jaeger 2015-10-06 19:42:22 +02:00
parent df13541590
commit c9b1992205
7 changed files with 9 additions and 21 deletions

View File

@ -72,13 +72,11 @@ release = '0.9'
# 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.
# pwd: source tree - this is needed only for openstackdocstheme <= 1.2.2
# 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/openstack-manuals/tree/doc/admin-guide-cloud/source' giturl = u'http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/admin-guide-cloud/source'
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')
pwd = os.popen("pwd").read().strip('\n') html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
html_context = {"pwd": pwd, "gitsha": gitsha, "bug_tag": bug_tag,
"giturl": giturl} "giturl": giturl}
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation

View File

@ -75,13 +75,11 @@ release = '1.0.0'
# 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.
# pwd: source tree - this is needed only for openstackdocstheme <= 1.2.2
# 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/openstack-manuals/tree/doc/contributor-guide/source' giturl = u'http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/contributor-guide/source'
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')
pwd = os.popen("pwd").read().strip('\n') html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
html_context = {"pwd": pwd, "gitsha": gitsha, "bug_tag": bug_tag,
"giturl": giturl} "giturl": giturl}
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation

View File

@ -77,13 +77,11 @@ release = '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.
# pwd: source tree - this is needed only for openstackdocstheme <= 1.2.2
# 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/openstack-manuals/tree/doc/install-guide/source' giturl = u'http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/install-guide/source'
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')
pwd = os.popen("pwd").read().strip('\n') html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
html_context = {"pwd": pwd, "gitsha": gitsha, "bug_tag": bug_tag,
"giturl": giturl} "giturl": giturl}
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation

View File

@ -70,13 +70,11 @@ release = '0.9'
# 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.
# pwd: source tree - this is needed only for openstackdocstheme <= 1.2.2
# 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/openstack-manuals/tree/doc/networking-guide/source' giturl = u'http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/networking-guide/source'
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')
pwd = os.popen("pwd").read().strip('\n') html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
html_context = {"pwd": pwd, "gitsha": gitsha, "bug_tag": bug_tag,
"giturl": giturl} "giturl": giturl}
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation

View File

@ -73,13 +73,11 @@ release = '1.0.0'
# 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.
# pwd: source tree - this is needed only for openstackdocstheme <= 1.2.2
# 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/openstack-manuals/tree/doc/user-guide-admin/source' giturl = u'http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/user-guide-admin/source'
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')
pwd = os.popen("pwd").read().strip('\n') html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
html_context = {"pwd": pwd, "gitsha": gitsha, "bug_tag": bug_tag,
"giturl": giturl} "giturl": giturl}
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation

View File

@ -73,13 +73,11 @@ release = '1.0.0'
# 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.
# pwd: source tree - this is needed only for openstackdocstheme <= 1.2.2
# 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/openstack-manuals/tree/doc/user-guide/source' giturl = u'http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/user-guide/source'
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')
pwd = os.popen("pwd").read().strip('\n') html_context = {"gitsha": gitsha, "bug_tag": bug_tag,
html_context = {"pwd": pwd, "gitsha": gitsha, "bug_tag": bug_tag,
"giturl": giturl} "giturl": giturl}
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation

View File

@ -1,14 +1,14 @@
# The order of packages is significant, because pip processes them in the order # The order of packages is significant, because pip processes them in the order
# 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.
pbr>=0.11,<2.0 pbr>=1.6
# Hacking already pins down pep8, pyflakes and flake8 # Hacking already pins down pep8, pyflakes and flake8
hacking>=0.10.0,<0.11 hacking>=0.10.2,<0.11
beautifulsoup4 beautifulsoup4
Jinja2>=2.6 # BSD License (3 clause) Jinja2>=2.6 # BSD License (3 clause)
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
doc8 # Apache-2.0 doc8 # Apache-2.0