From 2378b94d81e069b580eba55958adb1d4309de82c 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.* --- doc/dev/conf.py | 2 +- doc/user/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/dev/conf.py b/doc/dev/conf.py index 3960e5440..c970bf0a6 100644 --- a/doc/dev/conf.py +++ b/doc/dev/conf.py @@ -20,7 +20,7 @@ extensions = [ ] theme_major = sphinx_rtd_theme.__version__.partition('.')[0] -if theme_major == '2': +if theme_major >= '2': extensions.append('sphinxcontrib.jquery') # Breathe configuration diff --git a/doc/user/conf.py b/doc/user/conf.py index ddd3e5edf..a937fae08 100644 --- a/doc/user/conf.py +++ b/doc/user/conf.py @@ -25,7 +25,7 @@ extensions = [ ] theme_major = sphinx_rtd_theme.__version__.partition('.')[0] -if theme_major == '2': +if theme_major >= '2': extensions.append('sphinxcontrib.jquery') # List of patterns, relative to source directory, that match files and -- 2.47.2