]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
Doc: include jquery for sphinx version equal or greater to 2.* docs-develop-doc-btpwyh/deployments/6517
authorFrantisek Tobias <frantisek.tobias@nic.cz>
Tue, 1 Apr 2025 12:03:13 +0000 (14:03 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 1 Apr 2025 12:38:35 +0000 (14:38 +0200)
doc/dev/conf.py
doc/user/conf.py

index 3960e54407bc3510ee01f06ce4ef92afbd29cec5..c970bf0a6940bdecc0ab5e9e93c73cc34d9b64f1 100644 (file)
@@ -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
index ddd3e5edfbb79728317d925207012f62a40bfe3c..a937fae0894a983edf97641b9e6609a7f65f323f 100644 (file)
@@ -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