diff --git a/f5_sphinx_theme/__init__.py b/f5_sphinx_theme/__init__.py index 58f152a..4aa4208 100644 --- a/f5_sphinx_theme/__init__.py +++ b/f5_sphinx_theme/__init__.py @@ -16,7 +16,7 @@ from os import path -__version__ = "2.6.1" +__version__ = "2.7.0" def get_html_theme_path(): diff --git a/f5_sphinx_theme/layout.html b/f5_sphinx_theme/layout.html index 6f11c8d..b5673a0 100644 --- a/f5_sphinx_theme/layout.html +++ b/f5_sphinx_theme/layout.html @@ -112,6 +112,12 @@
{{ project }} {{ version }}
+ {%- if theme_banner_msg %} +
+

{{ theme_banner_msg }}

+
+ {%- endif %} + {%- block breadcrumb %} {% include "breadcrumb.html" %} {% endblock %} diff --git a/f5_sphinx_theme/static/css/f5-theme.css b/f5_sphinx_theme/static/css/f5-theme.css index 7bde3a2..79a4e75 100644 --- a/f5_sphinx_theme/static/css/f5-theme.css +++ b/f5_sphinx_theme/static/css/f5-theme.css @@ -1368,3 +1368,11 @@ This section here is the css styling for the dropdown menu .dropdown:hover .dropbtn { background-color: #002e63; } + +.clouddocs-banner { + text-align: center; + width: 100%; + background-color: #ffcc00; + color: black; + font-weight: bold; +} diff --git a/f5_sphinx_theme/theme.conf b/f5_sphinx_theme/theme.conf index 5fc63c9..7c99a12 100644 --- a/f5_sphinx_theme/theme.conf +++ b/f5_sphinx_theme/theme.conf @@ -18,3 +18,4 @@ sidebar_toc_maxdepth = hide_right_menu = show_project = True display_last_updated = +banner_msg =