Browse Source

[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 <markus.heiser@darmarit.de>
Markus Heiser 3 years ago
parent
commit
8751940169
3 changed files with 4 additions and 4 deletions
  1. 1 1
      docs/_themes/searxng/static/searxng.css
  2. 1 1
      docs/conf.py
  3. 2 2
      requirements-dev.txt

+ 1 - 1
docs/_themes/searxng/static/searxng.css

@@ -14,7 +14,7 @@ p.version-warning {
   background-color: #004b6b;
   background-color: #004b6b;
 }
 }
 
 
-div.sidebar {
+aside.sidebar {
   background-color: whitesmoke;
   background-color: whitesmoke;
   border-color: lightsteelblue;
   border-color: lightsteelblue;
   border-radius: 3pt;
   border-radius: 3pt;

+ 1 - 1
docs/conf.py

@@ -116,7 +116,7 @@ extensions = [
     "sphinx.ext.intersphinx",
     "sphinx.ext.intersphinx",
     "pallets_sphinx_themes",
     "pallets_sphinx_themes",
     "sphinx_issues", # https://github.com/sloria/sphinx-issues/blob/master/README.rst
     "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
     "sphinxcontrib.programoutput",  # https://github.com/NextThought/sphinxcontrib-programoutput
     'linuxdoc.kernel_include',  # Implementation of the 'kernel-include' reST-directive.
     'linuxdoc.kernel_include',  # Implementation of the 'kernel-include' reST-directive.
     'linuxdoc.rstFlatTable',    # Implementation of the 'flat-table' reST-directive.
     'linuxdoc.rstFlatTable',    # Implementation of the 'flat-table' reST-directive.

+ 2 - 2
requirements-dev.txt

@@ -10,8 +10,8 @@ twine==3.8.0
 Pallets-Sphinx-Themes==2.0.2
 Pallets-Sphinx-Themes==2.0.2
 Sphinx==4.4.0
 Sphinx==4.4.0
 sphinx-issues==3.0.1
 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
 sphinxcontrib-programoutput==0.17
 sphinx-autobuild==2021.3.14
 sphinx-autobuild==2021.3.14
 myst-parser==0.17.0
 myst-parser==0.17.0