diff --git a/docs/_themes/searxng/static/searxng.css b/docs/_themes/searxng/static/searxng.css index 1ab8489ec..a214bc9d1 100644 --- a/docs/_themes/searxng/static/searxng.css +++ b/docs/_themes/searxng/static/searxng.css @@ -40,7 +40,7 @@ p.sidebar-title, .sidebar p { /* admonitions */ -div.admonition, div.topic, div.toctree-wrapper { +div.admonition, div.topic, nav.contents, div.toctree-wrapper { background-color: #fafafa; margin: 8px 0px; padding: 1em; diff --git a/docs/conf.py b/docs/conf.py index e2bbd1285..44d1c2ad9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -88,26 +88,26 @@ def setup(app): extlinks = {} # upstream links -extlinks['wiki'] = ('https://github.com/searxng/searxng/wiki/%s', ' ') -extlinks['pull'] = ('https://github.com/searxng/searxng/pull/%s', 'PR ') -extlinks['pull-searx'] = ('https://github.com/searx/searx/pull/%s', 'PR ') +extlinks['wiki'] = ('https://github.com/searxng/searxng/wiki/%s', ' %s') +extlinks['pull'] = ('https://github.com/searxng/searxng/pull/%s', 'PR %s') +extlinks['pull-searx'] = ('https://github.com/searx/searx/pull/%s', 'PR %s') # links to custom brand -extlinks['origin'] = (GIT_URL + '/blob/' + GIT_BRANCH + '/%s', 'git://') -extlinks['patch'] = (GIT_URL + '/commit/%s', '#') -extlinks['docs'] = (DOCS_URL + '/%s', 'docs: ') -extlinks['pypi'] = ('https://pypi.org/project/%s', 'PyPi: ') -extlinks['man'] = ('https://manpages.debian.org/jump?q=%s', '') +extlinks['origin'] = (GIT_URL + '/blob/' + GIT_BRANCH + '/%s', 'git://%s') +extlinks['patch'] = (GIT_URL + '/commit/%s', '#%s') +extlinks['docs'] = (DOCS_URL + '/%s', 'docs: %s') +extlinks['pypi'] = ('https://pypi.org/project/%s', 'PyPi: %s') +extlinks['man'] = ('https://manpages.debian.org/jump?q=%s', '%s') #extlinks['role'] = ( # 'https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#role-%s', '') extlinks['duref'] = ( - 'https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#%s', '') + 'https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#%s', '%s') extlinks['durole'] = ( - 'https://docutils.sourceforge.io/docs/ref/rst/roles.html#%s', '') + 'https://docutils.sourceforge.io/docs/ref/rst/roles.html#%s', '%s') extlinks['dudir'] = ( - 'https://docutils.sourceforge.io/docs/ref/rst/directives.html#%s', '') + 'https://docutils.sourceforge.io/docs/ref/rst/directives.html#%s', '%s') extlinks['ctan'] = ( - 'https://ctan.org/pkg/%s', 'CTAN: ') + 'https://ctan.org/pkg/%s', 'CTAN: %s') extensions = [ 'sphinx.ext.imgmath', diff --git a/requirements-dev.txt b/requirements-dev.txt index 602c6d3c1..ec30fdc01 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,10 +8,10 @@ splinter==0.18.1 selenium==4.3.0 twine==4.0.1 Pallets-Sphinx-Themes==2.0.2 -Sphinx==4.5.0 +Sphinx==5.0.2 sphinx-issues==3.0.1 sphinx-jinja==2.0.2 -sphinx-tabs==3.3.1 +sphinx-tabs==3.4.1 sphinxcontrib-programoutput==0.17 sphinx-autobuild==2021.3.14 sphinx-notfound-page==0.8