From cb4369bee9b1aee248541a1aa92d52cd1baac4f2 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 21 Aug 2018 13:29:59 +0200 Subject: [PATCH] Disable badge All documents are versionless, disable badge for pointing out releases. Change-Id: Ie0496a947529416d627baae1a27b84b20d070d13 --- doc/arch-design/source/conf.py | 4 +++- doc/doc-contrib-guide/source/conf.py | 4 +++- doc/glossary/source/conf.py | 4 +++- doc/ha-guide-draft/source/conf.py | 4 +++- doc/ha-guide/source/conf.py | 4 +++- doc/image-guide/source/conf.py | 4 +++- doc/install-guide/source/conf.py | 4 +++- releasenotes/source/conf.py | 4 +++- test-requirements.txt | 2 +- 9 files changed, 25 insertions(+), 9 deletions(-) diff --git a/doc/arch-design/source/conf.py b/doc/arch-design/source/conf.py index ffe964b9d2..ba907a58e2 100644 --- a/doc/arch-design/source/conf.py +++ b/doc/arch-design/source/conf.py @@ -117,7 +117,9 @@ 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 # documentation. -# html_theme_options = {} +html_theme_options = { + 'display_badge': False +} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [openstackdocstheme.get_html_theme_path()] diff --git a/doc/doc-contrib-guide/source/conf.py b/doc/doc-contrib-guide/source/conf.py index af29e0a877..536bd111b4 100644 --- a/doc/doc-contrib-guide/source/conf.py +++ b/doc/doc-contrib-guide/source/conf.py @@ -122,7 +122,9 @@ 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 # documentation. -# html_theme_options = {} +html_theme_options = { + 'display_badge': False +} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [openstackdocstheme.get_html_theme_path()] diff --git a/doc/glossary/source/conf.py b/doc/glossary/source/conf.py index 8361a437bf..157116ba7d 100644 --- a/doc/glossary/source/conf.py +++ b/doc/glossary/source/conf.py @@ -121,7 +121,9 @@ 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 # documentation. -# html_theme_options = {} +html_theme_options = { + 'display_badge': False +} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [openstackdocstheme.get_html_theme_path()] diff --git a/doc/ha-guide-draft/source/conf.py b/doc/ha-guide-draft/source/conf.py index 040fe35261..0a462026d3 100644 --- a/doc/ha-guide-draft/source/conf.py +++ b/doc/ha-guide-draft/source/conf.py @@ -115,7 +115,9 @@ 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 # documentation. -# html_theme_options = {} +html_theme_options = { + 'display_badge': False +} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [openstackdocstheme.get_html_theme_path()] diff --git a/doc/ha-guide/source/conf.py b/doc/ha-guide/source/conf.py index 5cbdad0c68..cf14559e54 100644 --- a/doc/ha-guide/source/conf.py +++ b/doc/ha-guide/source/conf.py @@ -118,7 +118,9 @@ 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 # documentation. -# html_theme_options = {} +html_theme_options = { + 'display_badge': False +} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [openstackdocstheme.get_html_theme_path()] diff --git a/doc/image-guide/source/conf.py b/doc/image-guide/source/conf.py index 13516440fb..e1a0ca8f84 100644 --- a/doc/image-guide/source/conf.py +++ b/doc/image-guide/source/conf.py @@ -117,7 +117,9 @@ 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 # documentation. -# html_theme_options = {} +html_theme_options = { + 'display_badge': False +} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [openstackdocstheme.get_html_theme_path()] diff --git a/doc/install-guide/source/conf.py b/doc/install-guide/source/conf.py index 0a22646dd6..858952f991 100644 --- a/doc/install-guide/source/conf.py +++ b/doc/install-guide/source/conf.py @@ -121,7 +121,9 @@ 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 # documentation. -# html_theme_options = {} +html_theme_options = { + 'display_badge': False +} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [openstackdocstheme.get_html_theme_path()] diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 9a59d9ab19..ffc6b5934e 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -114,7 +114,9 @@ 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 # documentation. -# html_theme_options = {} +html_theme_options = { + 'display_badge': False +} # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". diff --git a/test-requirements.txt b/test-requirements.txt index e837b2098b..17f92c5e2a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -10,7 +10,7 @@ beautifulsoup4 # MIT Jinja2>=2.8 # BSD License (3 clause) openstack-doc-tools>=1.6.0 # Apache-2.0 sphinx>=1.6.2 # BSD -openstackdocstheme>=1.18.1 # Apache-2.0 +openstackdocstheme>=1.23.0 # Apache-2.0 doc8 # Apache-2.0 requests>=2.14.2 # Apache-2.0 requestsexceptions>=1.2.0 # Apache-2.0