diff --git a/doc/requirements.txt b/doc/requirements.txt index 15a5e6a0..1489bcee 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,4 +1,3 @@ -sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD -sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD -openstackdocstheme>=1.20.0 # Apache-2.0 -reno>=2.5.0 # Apache-2.0 +sphinx>=2.0.0,!=2.1.0 # BSD +openstackdocstheme>=2.2.1 # Apache-2.0 +reno>=3.1.0 # Apache-2.0 diff --git a/doc/source/conf.py b/doc/source/conf.py index c30488c9..4c8cec1d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -23,9 +23,9 @@ extensions = [ ] # openstackdocstheme options -repository_name = 'openstack/os-vif' -bug_project = 'os-vif' -bug_tag = '' +openstackdocs_repo_name = 'openstack/os-vif' +openstackdocs_bug_project = 'os-vif' +openstackdocs_bug_tag = '' # The suffix of source filenames. source_suffix = '.rst' @@ -44,7 +44,7 @@ add_function_parentheses = True add_module_names = True # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # -- Options for HTML output ---------------------------------------------- diff --git a/lower-constraints.txt b/lower-constraints.txt index b76aaa9b..10113d07 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -34,7 +34,7 @@ msgpack-python==0.4.0 msgpack==0.5.6 netaddr==0.7.18 netifaces==0.10.6 -openstackdocstheme==1.20.0 +openstackdocstheme==2.2.1 os-client-config==1.28.0 oslo.concurrency==3.20.0 oslo.config==5.1.0 @@ -69,14 +69,14 @@ python-mimeparse==1.6.0 python-subunit==1.0.0 pytz==2018.3 PyYAML==3.12 -reno==2.5.0 +reno==3.1.0 repoze.lru==0.7 requests==2.14.2 requestsexceptions==1.2.0 rfc3986==1.1.0 Routes==2.4.1 snowballstemmer==1.2.1 -Sphinx==1.6.2 +Sphinx==2.0.0 sphinxcontrib-websupport==1.0.1 statsd==3.2.2 stestr==1.0.0 diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 60d8c7c1..28c27248 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -40,7 +40,7 @@ release = '' version = '' # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # -- Options for HTML output ----------------------------------------------