diff options
author | melissaml <ma.lei@99cloud.net> | 2020-05-22 17:31:47 +0800 |
---|---|---|
committer | Andreas Jaeger <jaegerandi@gmail.com> | 2020-06-05 07:39:41 +0000 |
commit | b77f7b9fe764f519a7dbfd9026b15db320d4aebd (patch) | |
tree | a8d589a8764bb1b668c17958c3d4963db2b7b771 /api-ref | |
parent | 3202b321b3c50ebfcbdb10bb3d87a7d300b6c5f5 (diff) | |
download | trove-b77f7b9fe764f519a7dbfd9026b15db320d4aebd.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
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
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.
Remove docs requirements from lower-constraints, they are not
needed during install or test but only for docs building.
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: Ic5ff4981e5ed09885fd2aaad7508d58d2b2cccc7
Diffstat (limited to 'api-ref')
-rwxr-xr-x | api-ref/source/conf.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index 665c9044..19e35cfc 100755 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -36,9 +36,10 @@ html_theme = 'openstackdocs' html_theme_options = { "sidebar_mode": "toc", } -repository_name = 'openstack/trove' -bug_project = 'trove' -bug_tag = '' +openstackdocs_repo_name = 'openstack/trove' +openstack_auto_name = False +openstackdocs_bug_project = 'trove' +openstackdocs_bug_tag = '' # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -93,7 +94,7 @@ add_module_names = False show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # -- Options for man page output ---------------------------------------------- |