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: I51704af235e07625812e3b035e72b0408fad793c
This commit is contained in:
Andreas Jaeger 2020-06-03 21:07:37 +02:00
parent 1bfc392a06
commit cb738addb5
2 changed files with 6 additions and 6 deletions

View File

@ -31,12 +31,12 @@ extensions = [
html_theme = 'openstackdocs'
# openstackdocstheme options
repository_name = 'openstack/self-healing-sig'
bug_project = '917'
bug_tag = ''
openstackdocs_repo_name = 'openstack/self-healing-sig'
openstackdocs_auto_name = False
openstackdocs_use_storyboard = True
# Feed configuration for yasfb
feed_base_url = 'http://specs.openstack.org/openstack/self-healing-sig'
feed_base_url = 'https://specs.openstack.org/openstack/self-healing-sig'
feed_author = 'OpenStack Self-healing SIG'
exclude_patterns = [
@ -74,7 +74,7 @@ add_function_parentheses = True
add_module_names = True
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
pygments_style = 'native'
# -- Options for HTML output --------------------------------------------------

View File

@ -1,3 +1,3 @@
pbr>=2.0.0
openstackdocstheme
openstackdocstheme>=2.2.1 # Apache-2.0
yasfb>=0.5.1