From 8751940169378d89a3151df57a40d6ada21f035c Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sat, 12 Mar 2022 10:54:30 +0100 Subject: [PATCH] [interim fix] of sphinx-tabs and sphinx-jinja The myst-parser requires >= docutils v.0.17 what ends in a dependency hell where plugins sphinx-tabs and sphinx-jinja we use are involved. This patch can be reverted when [2], [3], [4] are solved and new release is available / see [1]. [1] https://github.com/searxng/searxng/pull/954 [2] https://github.com/executablebooks/sphinx-tabs/issues/152 [3] https://github.com/executablebooks/sphinx-tabs/pull/153 [4] https://github.com/executablebooks/sphinx-tabs/pull/154 Signed-off-by: Markus Heiser --- docs/_themes/searxng/static/searxng.css | 2 +- docs/conf.py | 2 +- requirements-dev.txt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/_themes/searxng/static/searxng.css b/docs/_themes/searxng/static/searxng.css index 64f6d4700..1ab8489ec 100644 --- a/docs/_themes/searxng/static/searxng.css +++ b/docs/_themes/searxng/static/searxng.css @@ -14,7 +14,7 @@ p.version-warning { background-color: #004b6b; } -div.sidebar { +aside.sidebar { background-color: whitesmoke; border-color: lightsteelblue; border-radius: 3pt; diff --git a/docs/conf.py b/docs/conf.py index 89d6bb8f6..1dd5693ca 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -116,7 +116,7 @@ extensions = [ "sphinx.ext.intersphinx", "pallets_sphinx_themes", "sphinx_issues", # https://github.com/sloria/sphinx-issues/blob/master/README.rst - "sphinxcontrib.jinja", # https://github.com/tardyp/sphinx-jinja + "sphinx_jinja", # https://github.com/tardyp/sphinx-jinja "sphinxcontrib.programoutput", # https://github.com/NextThought/sphinxcontrib-programoutput 'linuxdoc.kernel_include', # Implementation of the 'kernel-include' reST-directive. 'linuxdoc.rstFlatTable', # Implementation of the 'flat-table' reST-directive. diff --git a/requirements-dev.txt b/requirements-dev.txt index 6b4efa2f8..15e3ad3cc 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -10,8 +10,8 @@ twine==3.8.0 Pallets-Sphinx-Themes==2.0.2 Sphinx==4.4.0 sphinx-issues==3.0.1 -sphinx-jinja==1.4.0 -sphinx-tabs==3.2.0 +sphinx-jinja==2.0.1 +sphinx-tabs @ git+https://github.com/return42/sphinx-tabs.git@fix-152#egg=fix-152 sphinxcontrib-programoutput==0.17 sphinx-autobuild==2021.3.14 myst-parser==0.17.0