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: I2e32c65b7fa6bf80d829c2cd84c6140a4f980583
This commit is contained in:
Andreas Jaeger 2020-06-03 21:06:34 +02:00
parent e7235a800b
commit 37bbba961b
2 changed files with 6 additions and 6 deletions

View File

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

View File

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