diff options
author | Andreas Jaeger <aj@suse.com> | 2020-05-14 21:32:12 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@suse.com> | 2020-05-15 18:14:20 +0200 |
commit | 6c963e7712e57a1aabb1c4c816b01c59625bdccd (patch) | |
tree | 38859171e5ce608424f2d7c0bb1c8ea8e7928f25 /api-guide | |
parent | ef3b5707328f460d0d03759061c01b1a20f28743 (diff) | |
download | nova-6c963e7712e57a1aabb1c4c816b01c59625bdccd.tar.gz |
Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.1.2 and reno 3.1.0 versions. Using
these versions will allow 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_version to not version the documents.
Set openstackdocs_auto_name to use project as name.
Depends-On: https://review.opendev.org/728432
Change-Id: I4e3ae3ceabe125ea459ed4baabf2e98686268e50
Diffstat (limited to 'api-guide')
-rw-r--r-- | api-guide/source/conf.py | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/api-guide/source/conf.py b/api-guide/source/conf.py index af340a3552..fafb397e19 100644 --- a/api-guide/source/conf.py +++ b/api-guide/source/conf.py @@ -50,12 +50,6 @@ todo_include_todos = True master_doc = 'index' # General information about the project. project = u'Compute API Guide' -bug_tag = u'api-guide' -repository_name = 'openstack/nova' -bug_project = 'nova' - -# Must set this variable to include year, month, day, hours, and minutes. -html_last_updated_fmt = '%Y-%m-%d %H:%M' copyright = u'2015, OpenStack contributors' @@ -147,10 +141,6 @@ html_static_path = [] # directly to the root of the documentation. # html_extra_path = [] -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -html_last_updated_fmt = '%Y-%m-%d %H:%M' - # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. # html_use_smartypants = True @@ -284,9 +274,15 @@ pdf_documents = [ # -- Options for openstackdocstheme ------------------------------------------- -openstack_projects = [ +openstackdocs_projects = [ 'glance', 'nova', 'neutron', 'placement', ] + +openstackdocs_bug_tag = u'api-guide' +openstackdocs_repo_name = 'openstack/nova' +openstackdocs_bug_project = 'nova' +openstackdocs_auto_version = False +openstackdocs_auto_name = False |