diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index 1e3c08c3..6a0d93bc 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -39,9 +39,10 @@ html_theme_options = { "sidebar_mode": "toc", } # openstackdocstheme options -repository_name = 'openstack/ec2-api' -bug_project = 'ec2-api' -bug_tag = '' +openstackdocs_repo_name = 'openstack/ec2-api' +openstackdocs_auto_name = False +openstackdocs_bug_project = 'ec2-api' +openstackdocs_bug_tag = '' # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -107,7 +108,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 ---------------------------------------------- diff --git a/doc/requirements.txt b/doc/requirements.txt index 8c8fbbd3..5a6776d6 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -2,6 +2,6 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -sphinx>=1.8.0,!=2.1.0 # BSD -openstackdocstheme>=1.31.2 # Apache-2.0 +sphinx>=2.0.0,!=2.1.0 # BSD +openstackdocstheme>=2.2.1 # Apache-2.0 os-api-ref>=1.5.0 # Apache-2.0 diff --git a/doc/source/conf.py b/doc/source/conf.py index 9ba0b378..7073afce 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -23,9 +23,10 @@ extensions = ['sphinx.ext.doctest', 'openstackdocstheme'] # openstackdocstheme options -repository_name = 'openstack/ec2-api' -bug_project = 'ec2-api' -bug_tag = '' +openstackdocs_repo_name = 'openstack/ec2-api' +openstackdocs_auto_name = False +openstackdocs_bug_project = 'ec2-api' +openstackdocs_bug_tag = '' # autodoc generation is a bit aggressive and a nuisance when doing heavy # text edit cycles. @@ -52,7 +53,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 6469c921..a848a28f 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -49,7 +49,6 @@ munch==2.2.0 netaddr==0.7.19 netifaces==0.10.6 nose==1.3.7 -openstackdocstheme==1.31.2 openstacksdk==0.12.0 os-api-ref==1.5.0 os-client-config==1.29.0 @@ -98,8 +97,6 @@ Routes==2.4.1 simplejson==3.13.2 six==1.11.0 snowballstemmer==1.2.1 -Sphinx==1.8.0 -sphinxcontrib-websupport==1.0.1 SQLAlchemy==1.2.5 sqlalchemy-migrate==0.11.0 sqlparse==0.2.4