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
This commit is contained in:
Andreas Jaeger
2020-05-14 21:32:12 +02:00
parent ef3b570732
commit 6c963e7712
5 changed files with 22 additions and 25 deletions
+7 -11
View File
@@ -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