Skip to content

Commit 553040e

Browse files
committed
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
1 parent 5b2e14e commit 553040e

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

doc/requirements.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# The order of packages is significant, because pip processes them in the order
22
# of appearance. Changing the order has an impact on the overall integration
33
# process, which may cause wedges in the gate later.
4-
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
5-
sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD
6-
openstackdocstheme>=1.30.0 # Apache-2.0
7-
reno>=2.5.0 # Apache-2.0
4+
sphinx>=2.0.0,!=2.1.0 # BSD
5+
openstackdocstheme>=2.1.2 # Apache-2.0
6+
reno>=3.1.0 # Apache-2.0
87
sphinxcontrib-apidoc>=0.2.0 # BSD
98

109
# redirect tests in docs

doc/source/conf.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@
3636
# The master toctree document.
3737
master_doc = 'index'
3838

39-
# openstackdocstheme options
40-
repository_name = 'openstack/python-novaclient'
41-
bug_project = 'python-novaclient'
42-
bug_tag = 'doc'
4339
copyright = 'OpenStack Contributors'
4440

4541

@@ -70,10 +66,10 @@
7066

7167
# -- Options for openstackdocstheme -------------------------------------------
7268

73-
repository_name = 'openstack/python-novaclient'
74-
bug_project = 'python-novaclient'
75-
bug_tag = ''
76-
openstack_projects = [
69+
openstackdocs_repo_name = 'openstack/python-novaclient'
70+
openstackdocs_bug_project = 'python-novaclient'
71+
openstackdocs_bug_tag = ''
72+
openstackdocs_projects = [
7773
'keystoneauth',
7874
'nova',
7975
'os-client-config',

0 commit comments

Comments
 (0)