summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-06-03 11:30:45 +0000
committerGerrit Code Review <review@openstack.org>2020-06-03 11:30:45 +0000
commit38d51b2e0f13614bafef3e5be4c8a074531b2a3f (patch)
treeceb325f765e81b2342bb4209208973a70811eb3f
parent1d77244f18bd69308cce1de8b182eb10c8106aa9 (diff)
parentc568c9f769aa788bc70c2f26de28367cade832f3 (diff)
downloadosprofiler-38d51b2e0f13614bafef3e5be4c8a074531b2a3f.tar.gz
Merge "Switch to newer openstackdocstheme and reno versions"3.2.0
-rw-r--r--doc/source/conf.py13
-rw-r--r--lower-constraints.txt6
-rw-r--r--releasenotes/source/conf.py10
-rw-r--r--test-requirements.txt6
4 files changed, 16 insertions, 19 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 8412b05..67978eb 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -40,9 +40,10 @@ extensions = [
]
# openstackdocstheme options
-repository_name = 'openstack/osprofiler'
-bug_project = 'osprofiler'
-bug_tag = ''
+openstackdocs_repo_name = 'openstack/osprofiler'
+openstackdocs_auto_name = False
+openstackdocs_bug_project = 'osprofiler'
+openstackdocs_bug_tag = ''
todo_include_todos = True
@@ -91,7 +92,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 = []
@@ -132,10 +133,6 @@ html_theme = 'openstackdocs'
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_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
diff --git a/lower-constraints.txt b/lower-constraints.txt
index ffd70a2..ebc7642 100644
--- a/lower-constraints.txt
+++ b/lower-constraints.txt
@@ -5,7 +5,7 @@ elasticsearch===2.0.0
jaeger-client==3.8.0
mock===2.0.0
netaddr===0.7.18
-openstackdocstheme===1.18.1
+openstackdocstheme==2.2.1
oslo.concurrency===3.26.0
oslo.config===5.2.0
oslo.serialization===2.18.0
@@ -13,10 +13,10 @@ oslo.utils===3.33.0
PrettyTable===0.7.2
pymongo===3.0.2
redis===2.10.0
-reno===2.5.0
+reno==3.1.0
requests===2.14.2
six===1.10.0
-sphinx===1.6.2
+Sphinx===2.0.0
stestr==2.0.0
testtools===2.2.0
WebOb===1.7.1
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index f62ca60..3ea08dd 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -40,9 +40,10 @@ extensions = [
]
# openstackdocstheme options
-repository_name = 'openstack/osprofiler'
-bug_project = 'osprofiler'
-bug_tag = ''
+openstackdocs_repo_name = 'openstack/osprofiler'
+openstackdocs_auto_name = False
+openstackdocs_bug_project = 'osprofiler'
+openstackdocs_bug_tag = ''
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -97,7 +98,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 = []
@@ -148,7 +149,6 @@ html_static_path = ['_static']
# 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.
diff --git a/test-requirements.txt b/test-requirements.txt
index eedd1a2..41b3580 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -6,8 +6,8 @@ ddt>=1.0.1 # MIT
stestr>=2.0.0 # Apache-2.0
testtools>=2.2.0 # MIT
-openstackdocstheme>=1.18.1 # Apache-2.0
-sphinx>=1.6.2 # BSD
+openstackdocstheme>=2.2.1 # Apache-2.0
+sphinx>=2.0.0,!=2.1.0 # BSD
# Bandit security code scanner
bandit>=1.1.0 # Apache-2.0
@@ -21,7 +21,7 @@ elasticsearch>=2.0.0,<3.0.0 # Apache-2.0
redis>=2.10.0 # MIT
# Build release notes
-reno>=2.5.0 # Apache-2.0
+reno>=3.1.0 # Apache-2.0
# For Jaeger Tracing
jaeger-client>=3.8.0 # Apache-2.0