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: v5.7.5~3^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33454a2d5efa10f83abd45a985866fcc57700d75;p=thirdparty%2Fknot-resolver.git Doc: include jquery for sphinx version equal or greater to 2.* (cherry picked from commit 2378b94d81e069b580eba55958adb1d4309de82c) --- 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