From 054ae2a7c7e00071390c247c17e4fd8a0a51904e Mon Sep 17 00:00:00 2001 From: Ville Ojamo <14869000+bluikko@users.noreply.github.com> Date: Wed, 26 Nov 2025 15:22:17 +0700 Subject: [PATCH] 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> --- doc/_themes/ceph/layout.html | 12 ------------ doc/conf.py | 1 - 2 files changed, 13 deletions(-) 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 %} -