From: Frantisek Tobias Date: Tue, 1 Apr 2025 12:03:13 +0000 (+0200) Subject: Doc: include jquery for sphinx version equal or greater to 2.* X-Git-Tag: v6.0.12~7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2378b94d81e069b580eba55958adb1d4309de82c;p=thirdparty%2Fknot-resolver.git Doc: include jquery for sphinx version equal or greater to 2.* --- 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