diff --git a/doc/requirements.txt b/doc/requirements.txt index 9638eea..cd4eb0d 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,2 +1,2 @@ -openstackdocstheme>=1.30.0 # Apache-2.0 +openstackdocstheme>=2.2.1 # Apache-2.0 sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD \ No newline at end of file diff --git a/doc/source/conf.py b/doc/source/conf.py index 549d29e..29dfcb0 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -48,7 +48,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 -------------------------------------------------- @@ -87,5 +87,7 @@ latex_documents = [ # intersphinx_mapping = {'http://docs.python.org/': None} # -- Options for openstackdocstheme ------------------------------------------- -repository_name = 'openstack/vitrage-dashboard' -use_storyboard = True +openstackdocs_repo_name = 'openstack/vitrage-dashboard' +openstackdocs_pdf_link = True +openstackdocs_auto_name = False +openstackdocs_use_storyboard = True diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 012a4a5..38faa38 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -48,7 +48,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 -------------------------------------------------- @@ -77,5 +77,6 @@ latex_documents = [ locale_dirs = ['locale/'] # -- Options for openstackdocstheme ------------------------------------------- -repository_name = 'openstack/vitrage-dashboard' -use_storyboard = True +openstackdocs_repo_name = 'openstack/vitrage-dashboard' +openstackdocs_auto_name = False +openstackdocs_use_storyboard = True diff --git a/test-requirements.txt b/test-requirements.txt index 27afa31..7509d70 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6,14 +6,11 @@ hacking>=3.0.1,<3.1.0 # Apache-2.0 coverage>=3.6 python-subunit>=0.0.18 -sphinx!=2.1.0,>=2.0.0 # BSD nodeenv>=0.9.4 # BSD -openstackdocstheme>=2.0.0 # Apache-2.0 testrepository>=0.0.18 testscenarios>=0.4 testtools>=1.4.0 pytest>=5.3.5 # MIT -reno>=2.5.0 # Apache-2.0 # integration tests requirements selenium>=2.50.1 # Apache-2.0