Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using these versions 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: I5f985549671e3b4f8c438f247fae0818d25b21f5
This commit is contained in:
parent
f13c79703a
commit
7ee77130c4
@ -35,8 +35,9 @@ source_suffix = '.rst'
|
||||
master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
repository_name = 'openstack/openstack-doc-tools'
|
||||
bug_tag = u'openstack-doc-tools'
|
||||
openstackdocs_repo_name = 'openstack/openstack-doc-tools'
|
||||
openstackdocs_auto_name = False
|
||||
openstackdocs_bug_tag = u'openstack-doc-tools'
|
||||
project = u'OpenStack-doc-tools'
|
||||
copyright = u'2017, OpenStack Foundation'
|
||||
|
||||
@ -48,7 +49,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 --------------------------------------------------
|
||||
|
||||
|
@ -21,7 +21,7 @@ lxml==3.4.1
|
||||
MarkupSafe==1.0
|
||||
mccabe==0.2.1
|
||||
mock==2.0.0
|
||||
openstackdocstheme==1.20.0
|
||||
openstackdocstheme==2.2.1
|
||||
pbr==2.0.0
|
||||
pep8==1.5.7
|
||||
pyflakes==0.8.1
|
||||
@ -31,12 +31,12 @@ python-mimeparse==1.6.0
|
||||
python-subunit==1.0.0
|
||||
pytz==2013.6
|
||||
PyYAML==3.12
|
||||
reno==2.5.0
|
||||
reno==3.1.0
|
||||
requests==2.14.2
|
||||
restructuredtext-lint==1.1.1
|
||||
six==1.10.0
|
||||
snowballstemmer==1.2.1
|
||||
Sphinx==1.8.0
|
||||
Sphinx==2.0.0
|
||||
sphinxcontrib-websupport==1.0.1
|
||||
stevedore==1.20.0
|
||||
stestr==2.0.0
|
||||
|
@ -52,8 +52,9 @@ source_suffix = '.rst'
|
||||
master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
repository_name = 'openstack/openstack-doc-tools'
|
||||
bug_tag = u'openstack-doc-tools'
|
||||
openstackdocs_repo_name = 'openstack/openstack-doc-tools'
|
||||
openstackdocs_auto_name = False
|
||||
openstackdocs_bug_tag = u'openstack-doc-tools'
|
||||
project = u'OpenStack-doc-tools Release Notes'
|
||||
copyright = u'2015-2017, OpenStack Documentation team'
|
||||
|
||||
@ -93,7 +94,7 @@ exclude_patterns = []
|
||||
# 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 = []
|
||||
|
@ -6,6 +6,6 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
||||
iso8601>=0.1.11 # MIT
|
||||
lxml!=3.7.0,>=3.4.1 # BSD
|
||||
docutils>=0.11 # OSI-Approved Open Source, Public Domain
|
||||
sphinx>=1.8.0,!=2.1.0 # BSD
|
||||
sphinx>=2.0.0,!=2.1.0 # BSD
|
||||
demjson>=2.2.2 # GLGPLv3+
|
||||
PyYAML>=3.12 # MIT
|
||||
|
@ -10,8 +10,8 @@ doc8>=0.6.0 # Apache-2.0
|
||||
|
||||
pylint==1.7.1 # GPLv2
|
||||
|
||||
reno>=2.5.0 # Apache-2.0
|
||||
openstackdocstheme>=1.20.0 # Apache-2.0
|
||||
reno>=3.1.0 # Apache-2.0
|
||||
openstackdocstheme>=2.2.1 # Apache-2.0
|
||||
stestr>=2.0.0 # Apache-2.0
|
||||
|
||||
# mock object framework
|
||||
|
Loading…
Reference in New Issue
Block a user