From aa31b71adc6710a48d3f0a57e3eae17dea43fc4a Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 6 Oct 2015 19:39:01 +0200 Subject: [PATCH] Update for openstackdocstheme 1.2.3 Require new version and cleanup conf.py, we do no need pwd variable anymore. Also update requirement for openstack-doc-tools, 0.30 is current minimum version. Change-Id: I53a222445967092e08a1b598a19e8bbe71e378a6 --- security-guide/source/conf.py | 3 +-- test-requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/security-guide/source/conf.py b/security-guide/source/conf.py index f36c9160..b7073159 100644 --- a/security-guide/source/conf.py +++ b/security-guide/source/conf.py @@ -69,8 +69,7 @@ release = '0.0.1' giturl = u'http://git.openstack.org/cgit/openstack/security-doc/tree/security-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 diff --git a/test-requirements.txt b/test-requirements.txt index 28c86db5..ff62f54e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,6 +3,6 @@ # process, which may cause wedges in the gate later. doc8 # Apache-2.0 -openstack-doc-tools>=0.23 +openstack-doc-tools>=0.30 sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 -openstackdocstheme>=1.0.3 +openstackdocstheme>=1.2.3