summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-05-21 06:22:50 +0000
committerGerrit Code Review <review@openstack.org>2020-05-21 06:22:50 +0000
commit94fb41d03aa6d4feaa1a63ba055d3e198a6c8303 (patch)
treebc911ba20e1f349b5a57dd86dc37a8eea181951f
parent7c51d65a433ce040eb500dbffa247eed1656d524 (diff)
parent30199f4f94d4ce94a445b6daf31067b187416798 (diff)
downloadpython-keystoneclient-94fb41d03aa6d4feaa1a63ba055d3e198a6c8303.tar.gz
Merge "Switch to newer openstackdocstheme and reno versions"4.1.0
-rw-r--r--doc/requirements.txt6
-rw-r--r--doc/source/conf.py9
-rw-r--r--releasenotes/source/conf.py8
3 files changed, 12 insertions, 11 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index 1da2c50..b7e4e97 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -3,9 +3,9 @@
# process, which may cause wedges in the gate later.
# These are needed for docs generation
-openstackdocstheme>=1.20.0 # Apache-2.0
-sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
+openstackdocstheme>=2.2.1 # Apache-2.0
+sphinx>=2.0.0,!=2.1.0 # BSD
sphinxcontrib-apidoc>=0.2.0 # BSD
-reno>=2.5.0 # Apache-2.0
+reno>=3.1.0 # Apache-2.0
lxml!=3.7.0,>=3.4.1 # BSD
fixtures>=3.0.0 # Apache-2.0/BSD
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 1dd272a..e74410d 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -84,7 +84,7 @@ add_module_names = True
#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 = ['keystoneclient.']
@@ -227,6 +227,7 @@ intersphinx_mapping = {
}
# -- Options for openstackdocstheme -------------------------------------------
-repository_name = 'openstack/python-keystoneclient'
-bug_project = 'python-keystoneclient'
-bug_tag = ''
+openstackdocs_repo_name = 'openstack/python-keystoneclient'
+openstackdocs_bug_project = 'python-keystoneclient'
+openstackdocs_bug_tag = ''
+openstackdocs_pdf_link = True
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index b06cddf..dc65fbe 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -92,7 +92,7 @@ exclude_patterns = []
# 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 = []
@@ -257,6 +257,6 @@ texinfo_documents = [
locale_dirs = ['locale/']
# -- Options for openstackdocstheme -------------------------------------------
-repository_name = 'openstack/python-keystoneclient'
-bug_project = 'python-keystoneclient'
-bug_tag = ''
+openstackdocs_repo_name = 'openstack/python-keystoneclient'
+openstackdocs_bug_project = 'python-keystoneclient'
+openstackdocs_bug_tag = ''