summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/requirements.txt4
-rw-r--r--doc/source/conf.py9
-rw-r--r--lower-constraints.txt2
-rw-r--r--test-requirements.txt2
4 files changed, 9 insertions, 8 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
index bfd5f87..9bfa056 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -1,5 +1,5 @@
# 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.
-sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2 # BSD
-openstackdocstheme>=1.18.1 # Apache-2.0
+sphinx>=2.0.0,!=2.1.0 # BSD
+openstackdocstheme>=2.2.1 # Apache-2.0
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 0421f14..7686f1b 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -51,9 +51,10 @@ if has_openstackdocstheme:
extensions.append('openstackdocstheme')
# openstackdocstheme options
-repository_name = 'openstack/cliff'
-bug_project = 'python-cliff'
-bug_tag = ''
+openstackdocs_repo_name = 'openstack/cliff'
+openstackdocs_auto_name = False
+openstackdocs_bug_project = 'python-cliff'
+openstackdocs_bug_tag = ''
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -101,7 +102,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 = []
diff --git a/lower-constraints.txt b/lower-constraints.txt
index 6a163a5..0e84936 100644
--- a/lower-constraints.txt
+++ b/lower-constraints.txt
@@ -26,7 +26,7 @@ requests==2.14.2
six==1.10.0
smmap==0.9.0
snowballstemmer==1.2.1
-Sphinx==1.6.2
+Sphinx==2.0.0
sphinxcontrib-websupport==1.0.1
stevedore==1.20.0
testrepository==0.0.18
diff --git a/test-requirements.txt b/test-requirements.txt
index d69d358..f33895f 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -12,7 +12,7 @@ coverage!=4.4,>=4.0 # Apache-2.0
# sphinx is required in test-requirements in addition to doc/requirements
# because there is a sphinx extension that has tests
-sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2 # BSD
+sphinx>=2.0.0,!=2.1.0 # BSD
# Bandit security code scanner
bandit>=1.1.0 # Apache-2.0