From e536fe0b4a728dc00eac65a396e59fc0f5225f85 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 14 May 2020 21:58:17 +0200 Subject: [PATCH] Switch to newer openstackdocstheme and reno versions Switch to openstackdocstheme 2.1.1 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. Change-Id: I55a307059d19e13cb01273ad9113a7ef2b35eaf2 --- doc/requirements.txt | 4 ++-- doc/source/conf.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 6c1d0aa3..c22e0dfb 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,6 +1,6 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -openstackdocstheme>=1.28 # Apache-2.0 +openstackdocstheme>=2.1.1 # Apache-2.0 doc8>=0.6.0 # Apache-2.0 -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +sphinx>=2.0.0,!=2.1.0 # BSD diff --git a/doc/source/conf.py b/doc/source/conf.py index 51fb5f79..52f6c00a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,8 +52,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -repository_name = "openstack/operations-guide" -use_storyboard = True +openstackdocs_repo_name = "openstack/operations-guide" +openstackdocs_use_storyboard = True copyright = u'2016-present, OpenStack contributors' # The language for content autogenerated by Sphinx. Refer to documentation