diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index 847d15c34..7a42482cb 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -87,7 +87,7 @@ add_module_names = False show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # -- Options for man page output ---------------------------------------------- @@ -198,3 +198,8 @@ latex_documents = [ # If false, no module index is generated. # latex_use_modindex = True + +# -- Options for openstackdocstheme ------------------------------------------- +openstackdocs_repo_name = 'openstack/tacker' +openstackdocs_bug_project = 'tacker' +openstackdocs_bug_tag = '' diff --git a/doc/requirements.txt b/doc/requirements.txt index 3e7b5f4e4..baca1a31a 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,8 +1,8 @@ # 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 +sphinx>=2.0.0,!=2.1.0 # BSD sphinxcontrib-apidoc>=0.2.0 # BSD -openstackdocstheme>=1.20.0 # Apache-2.0 +openstackdocstheme>=2.2.1 # Apache-2.0 os-api-ref>=1.4.0 # Apache-2.0 -reno>=2.5.0 # Apache-2.0 +reno>=3.1.0 # Apache-2.0 diff --git a/doc/source/conf.py b/doc/source/conf.py index 2d83a9acc..b3cf975b8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -70,7 +70,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' # A list of ignored prefixes for module index sorting. modindex_common_prefix = ['tacker.'] @@ -103,6 +103,7 @@ latex_documents = [ #intersphinx_mapping = {'http://docs.python.org/': None} # -- Options for openstackdocstheme ------------------------------------------- -repository_name = 'openstack/tacker' -bug_project = 'tacker' -bug_tag = '' +openstackdocs_repo_name = 'openstack/tacker' +openstackdocs_auto_name = False +openstackdocs_bug_project = 'tacker' +openstackdocs_bug_tag = '' diff --git a/lower-constraints.txt b/lower-constraints.txt index fc2429be7..7fa4b962e 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -60,7 +60,6 @@ munch==2.2.0 netaddr==0.7.18 netifaces==0.10.6 oauthlib==2.0.7 -openstackdocstheme==1.20.0 openstacksdk==0.44.0 os-api-ref==1.5.0 os-client-config==1.29.0 @@ -119,7 +118,6 @@ python-swiftclient==3.5.0 python-tackerclient==0.8.0 pytz==2018.3 PyYAML==5.1 -reno==2.7.0 repoze.lru==0.7 requests-oauthlib==0.8.0 requests==2.14.2 @@ -133,8 +131,6 @@ setuptools==21.0.0 simplejson==3.13.2 six==1.10.0 snowballstemmer==1.2.1 -Sphinx==1.6.5 -sphinxcontrib-websupport==1.0.1 sqlalchemy-filters==0.10.0 sqlalchemy-migrate==0.11.0 SQLAlchemy==1.3.0 diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 4d52867c6..3f49e50f0 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -91,7 +91,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 = [] @@ -246,6 +246,6 @@ texinfo_documents = [ locale_dirs = ['locale/'] # -- Options for openstackdocstheme ------------------------------------------- -repository_name = 'openstack/tacker' -bug_project = 'tacker' -bug_tag = '' +openstackdocs_repo_name = 'openstack/tacker' +openstackdocs_bug_project = 'tacker' +openstackdocs_bug_tag = '' diff --git a/requirements.txt b/requirements.txt index b468c37f8..1111cbdf2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -37,7 +37,6 @@ oslo.service!=1.28.1,>=1.24.0 # Apache-2.0 oslo.upgradecheck>=0.1.0 # Apache-2.0 oslo.utils>=3.33.0 # Apache-2.0 oslo.versionedobjects>=1.33.3 # Apache-2.0 -openstackdocstheme>=1.20.0 # Apache-2.0 openstacksdk>=0.44.0 # Apache-2.0 python-neutronclient>=6.7.0 # Apache-2.0 python-novaclient>=9.1.0 # Apache-2.0