Switch to newer openstackdocstheme version

Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I132d4efb3955ba3425426a4bb617dc5cd0d86944
This commit is contained in:
Andreas Jaeger 2020-05-31 19:58:13 +02:00
parent 62d775d17f
commit 347b27bf90
2 changed files with 9 additions and 5 deletions

View File

@ -12,7 +12,6 @@
# serve to show the default.
import datetime
import subprocess
import sys
import os
@ -38,7 +37,7 @@ extensions = ['redirect',
]
# Feed configuration for yasfb
feed_base_url = 'http://specs.openstack.org/openstack/murano-specs'
feed_base_url = 'https://specs.openstack.org/openstack/murano-specs'
feed_author = 'OpenStack Murano Team'
todo_include_todos = True
@ -91,11 +90,16 @@ add_module_names = False
show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
pygments_style = 'native'
# A list of ignored prefixes for module index sorting.
modindex_common_prefix = ['murano-specs.']
# openstackdocstheme options
openstackdocs_repo_name = 'openstack/murano-specs'
openstackdocs_bug_project = 'murano'
openstackdocs_bug_tag = ''
# -- Options for man page output ----------------------------------------------
man_pages = []

View File

@ -3,8 +3,8 @@
# process, which may cause wedges in the gate later.
pbr>=2.0.0,!=2.1.0 # Apache-2.0
sphinx>=1.6.1 # BSD
sphinx>=2.0.0,!=2.1.0 # BSD
testrepository>=0.0.18 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
yasfb>=0.8.0
openstackdocstheme>=1.32.0 # Apache-2.0
openstackdocstheme>=2.2.1 # Apache-2.0