From a9e9de2f210df9eda2e0e8dfd8d5c75e1ede4212 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 15 May 2020 21:57:09 +0200 Subject: 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 * parallelizing building of documents Update Sphinx version as well. Remove the doc requirements from lower-constraints, they are not needed during installation. openstackdocstheme renames some variables, so follow the renames. A couple of variables are also not needed anymore, remove them. Set openstackdocs_pdf_link to link to PDF file. 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. See also http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: Ic7c901ff19aa073b6e003ccb95aaf77886f20152 --- releasenotes/source/conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'releasenotes') diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 1be30eb..9d399ae 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -93,7 +93,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 = [] @@ -258,6 +258,6 @@ texinfo_documents = [ locale_dirs = ['locale/'] # -- Options for openstackdocstheme ------------------------------------------- -repository_name = 'openstack/keystonemiddleware' -bug_project = 'keystonemiddleware' -bug_tag = '' +openstackdocs_repo_name = 'openstack/keystonemiddleware' +openstackdocs_bug_project = 'keystonemiddleware' +openstackdocs_bug_tag = '' -- cgit v1.2.1