From: Ville Ojamo <14869000+bluikko@users.noreply.github.com> Date: Wed, 26 Nov 2025 08:22:17 +0000 (+0700) Subject: doc: Fix Sphinx warning about theme option X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=054ae2a7c7e00071390c247c17e4fd8a0a51904e;p=ceph.git doc: Fix Sphinx warning about theme option The Sphinx theme "sphinx_rtd_theme" dropped support for "display_version" theme option in version 3 (currently used: 3.0.2). Because the "ceph" theme inherits that theme, remove all references to "display_version" from it. Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com> --- diff --git a/doc/_themes/ceph/layout.html b/doc/_themes/ceph/layout.html index f89edfe371a8..bf6f39b4449b 100644 --- a/doc/_themes/ceph/layout.html +++ b/doc/_themes/ceph/layout.html @@ -138,18 +138,6 @@ {% endif %} - {% if theme_display_version %} - {%- set nav_version = version %} - {% if READTHEDOCS and current_version %} - {%- set nav_version = current_version %} - {% endif %} - {% if nav_version %} -
- {{ nav_version }} -
- {% endif %} - {% endif %} - {% include "searchbox.html" %} {% endblock %} diff --git a/doc/conf.py b/doc/conf.py index 5293ff1b2126..21a590216493 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -55,7 +55,6 @@ pygments_style = 'sphinx' html_theme = 'ceph' html_theme_options = { 'logo_only': True, - 'display_version': False, 'prev_next_buttons_location': 'bottom', 'style_external_links': False, 'vcs_pageview_mode': 'edit',