diff options
author | Andreas Jaeger <aj@suse.com> | 2020-05-15 20:16:48 +0200 |
---|---|---|
committer | Andreas Jaeger <jaegerandi@gmail.com> | 2020-05-21 13:43:22 +0000 |
commit | 7820cafffecfd36f85bef6bd24652c7a3cc8e6ac (patch) | |
tree | 4c2ac9678bf12e88dfecfa61420584c2a7fa821f /api-ref/source/conf.py | |
parent | 89cc35f0b1943c72a88d42d90c54d66a488b94ba (diff) | |
download | keystone-7820cafffecfd36f85bef6bd24652c7a3cc8e6ac.tar.gz |
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.
openstackdocstheme renames some variables, so follow the renames. A
couple of variables are also not needed anymore, remove them.
Set openstackdocs_auto_name to use project as name.
Set openstackdocs_pdf_link to link to PDF file.
Remove docs requirements from lower-constraints, they are not installed.
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: I320a69816b4101bb76b88448881f3177c892ea92
Diffstat (limited to 'api-ref/source/conf.py')
-rw-r--r-- | api-ref/source/conf.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index 3a3546087..12fb4307c 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -64,9 +64,9 @@ master_doc = 'index' copyright = u'2010-present, OpenStack Foundation' # -- Options for openstackdocstheme ------------------------------------------- -repository_name = 'openstack/keystone' -bug_project = 'keystone' -bug_tag = 'api-ref' +openstackdocs_repo_name = 'openstack/keystone' +openstackdocs_bug_project = 'keystone' +openstackdocs_bug_tag = 'api-ref' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -98,7 +98,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 = [] |