diff --git a/doc/requirements.txt b/doc/requirements.txt index 6ca2d60eaa..ffce3ff74c 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -2,8 +2,8 @@ pbr>=2.0.0,!=2.1.0 Pygments docutils -sphinx>=2.0.0,!=2.1.0 -openstackdocstheme>=2.0.0 +sphinx>=2.0.0,!=2.1.0 # BSD +openstackdocstheme>=2.2.1 # Apache-2.0 nwdiag blockdiag sphinxcontrib-blockdiag diff --git a/doc/source/conf.py b/doc/source/conf.py index 56043ba6f7..2e17da17f8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -30,9 +30,15 @@ extensions = [ 'sphinx.ext.autodoc', 'sphinxcontrib.nwdiag' ] # openstackdocstheme options -repository_name = 'openstack-dev/devstack' -bug_project = 'devstack' -bug_tag = '' +openstackdocs_repo_name = 'openstack-dev/devstack' +openstackdocs_pdf_link = True +openstackdocs_bug_project = 'devstack' +openstackdocs_bug_tag = '' +openstackdocs_auto_name = False +# This repo is not tagged, so don't set versions +openstackdocs_auto_version = False +version = '' +release = '' todo_include_todos = True @@ -81,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' # A list of ignored prefixes for module index sorting. modindex_common_prefix = ['DevStack-doc.']