From 33454a2d5efa10f83abd45a985866fcc57700d75 Mon Sep 17 00:00:00 2001 From: Frantisek Tobias Date: Tue, 1 Apr 2025 14:03:13 +0200 Subject: [PATCH] Doc: include jquery for sphinx version equal or greater to 2.* (cherry picked from commit 2378b94d81e069b580eba55958adb1d4309de82c) --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 9dc0f670f..e439018e3 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -16,7 +16,7 @@ if os.environ.get('READTHEDOCS', None) == 'True': extensions = ['sphinx.ext.todo', 'sphinx.ext.viewcode', 'breathe'] theme_major = sphinx_rtd_theme.__version__.partition('.')[0] -if theme_major == '2': +if theme_major >= '2': extensions.append('sphinxcontrib.jquery') # Breathe configuration -- 2.47.3