summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-05-14 21:45:12 +0200
committerAndreas Jaeger <aj@suse.com>2020-05-15 16:55:53 +0200
commit553040ed4b27a36f0557595dcf33abe5739f9517 (patch)
treef02318b930784790629a8768b4e3dc57ee0bbe27
parent5b2e14e109a5177245f6b59bc3ff2749f9fae5ae (diff)
downloadpython-novaclient-553040ed4b27a36f0557595dcf33abe5739f9517.tar.gz
Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.1.2 and reno 3.1.0 versions. Using these versions will allow parallelizing building of documents. Update Sphinx version as well. openstackdocstheme renames some variables, so follow the renames. A couple of variables are also not needed anymore, remove them. Remove duplicated variables. Depends-On: https://review.opendev.org/728432 Change-Id: Icb604b31150a1ad6c29a9a4a934ed13f8a0b4976
-rw-r--r--doc/requirements.txt7
-rw-r--r--doc/source/conf.py12
2 files changed, 7 insertions, 12 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index 7cfd8e09..d1818034 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -1,10 +1,9 @@
# 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
# process, which may cause wedges in the gate later.
-sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
-sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD
-openstackdocstheme>=1.30.0 # Apache-2.0
-reno>=2.5.0 # Apache-2.0
+sphinx>=2.0.0,!=2.1.0 # BSD
+openstackdocstheme>=2.1.2 # Apache-2.0
+reno>=3.1.0 # Apache-2.0
sphinxcontrib-apidoc>=0.2.0 # BSD
# redirect tests in docs
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 515e754d..1be9ec51 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -36,10 +36,6 @@ autoclass_content = 'both'
# The master toctree document.
master_doc = 'index'
-# openstackdocstheme options
-repository_name = 'openstack/python-novaclient'
-bug_project = 'python-novaclient'
-bug_tag = 'doc'
copyright = 'OpenStack Contributors'
@@ -70,10 +66,10 @@ latex_elements = {
# -- Options for openstackdocstheme -------------------------------------------
-repository_name = 'openstack/python-novaclient'
-bug_project = 'python-novaclient'
-bug_tag = ''
-openstack_projects = [
+openstackdocs_repo_name = 'openstack/python-novaclient'
+openstackdocs_bug_project = 'python-novaclient'
+openstackdocs_bug_tag = ''
+openstackdocs_projects = [
'keystoneauth',
'nova',
'os-client-config',