]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
Doc: include jquery for sphinx version equal or greater to 2.*
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>
Wed, 23 Apr 2025 15:05:31 +0000 (17:05 +0200)
(cherry picked from commit 2378b94d81e069b580eba55958adb1d4309de82c)

doc/conf.py

index 9dc0f670f8d92d6562428964ade4677c5c494778..e439018e3da4c76e1a862bc9b5f3150cf4c18c66 100644 (file)
@@ -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