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: I52f0ef0428168b2dcd75a32df1be2b455ee00d5d
This commit is contained in:
parent
4472d399c1
commit
1eaa0d539b
|
@ -27,6 +27,11 @@ master_doc = 'index'
|
|||
project = u'OpenStack Chef Specs'
|
||||
copyright = u'%s, OpenStack Chef Team' % datetime.date.today().year
|
||||
|
||||
openstackdocs_repo_name = 'openstack/openstack-chef-specs'
|
||||
openstackdocs_auto_name = False
|
||||
openstackdocs_bug_project = 'openstack-chef'
|
||||
openstackdocs_bug_tag = u'specs'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
#language = None
|
||||
|
@ -57,7 +62,7 @@ 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 = ['openstack-chef-specs.']
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
openstackdocstheme>=1.32.1 # Apache-2.0
|
||||
openstackdocstheme>=2.2.1 # Apache-2.0
|
||||
pbr>=2.0
|
||||
sphinx>=1.8.1
|
||||
sphinx>=2.0.0,!=2.1.0 # BSD
|
||||
testrepository>=0.0.18
|
||||
testtools>=0.9.34
|
||||
|
|
Loading…
Reference in New Issue