diff --git a/doc/source/conf.py b/doc/source/conf.py index 98cf225a..8c1a8508 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -28,8 +28,8 @@ import warnings # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ - 'sphinx.ext.autodoc', - 'oslosphinx' + 'openstackdocstheme', + 'sphinx.ext.autodoc' ] # Add any paths that contain templates here, relative to this directory. @@ -100,7 +100,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'openstackdocs' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -265,3 +265,8 @@ texinfo_documents = [ # If true, do not generate a @detailmenu in the "Top" node's menu. #texinfo_no_detailmenu = False + +# openstackdocstheme options +repository_name = 'openstack/freezer-api' +bug_project = 'freezer' +bug_tag = '' diff --git a/lower-constraints.txt b/lower-constraints.txt index 0464ba7d..5800a5df 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -45,7 +45,6 @@ oslo.policy==1.30.0 oslo.serialization==2.25.0 oslo.upgradecheck==0.1.0 oslo.utils==3.36.0 -oslosphinx==4.7.0 oslotest==3.3.0 Paste==2.0.2 PasteDeploy==1.5.0 diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 6e06ee53..e8e0d9b9 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -25,10 +25,17 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ - 'oslosphinx', + 'openstackdocstheme', 'reno.sphinxext', ] +# openstackdocstheme options +repository_name = 'openstack/freezer-api' +bug_project = 'freezer' +bug_tag = 'release notes' + +html_last_updated_fmt = '%Y-%m-%d %H:%M' + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -94,7 +101,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'openstackdocs' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/test-requirements.txt b/test-requirements.txt index c38a458d..2ccf07ad 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,7 +7,6 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 mock>=2.0.0 # BSD fixtures>=3.0.0 # Apache-2.0/BSD -oslosphinx>=4.7.0 # Apache-2.0 oslotest>=3.3.0 # Apache-2.0 sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD testrepository>=0.0.18 # Apache-2.0/BSD