From d00443964654ae5e0970ac03e26269517146dc07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mi=20V=C3=A1nyi?= Date: Mon, 15 Aug 2022 22:54:00 +0200 Subject: [PATCH] Update documentation to fix blog link Closes #3342 --- docs/conf.py | 6 ++---- docs/index.rst | 5 ----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 6efd7625..498b9209 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -10,7 +10,7 @@ from searx.version import VERSION_STRING # Project -------------------------------------------------------------- project = u'searx' -copyright = u'2015-2021, Adam Tauber, Noémi Ványi' +copyright = u'2015-2022, Adam Tauber, Noémi Ványi' author = u'Adam Tauber' release, version = VERSION_STRING, VERSION_STRING highlight_language = 'none' @@ -101,13 +101,11 @@ imgmath_font_size = 14 html_theme_options = {"index_sidebar_logo": True} html_context = {"project_links": [] } -html_context["project_links"].append(ProjectLink("Blog", "blog/index.html")) +html_context["project_links"].append(ProjectLink("Blog", brand.DOCS_URL + "/blog/index.html")) if brand.GIT_URL: html_context["project_links"].append(ProjectLink("Source", brand.GIT_URL)) if brand.WIKI_URL: html_context["project_links"].append(ProjectLink("Wiki", brand.WIKI_URL)) -if brand.PUBLIC_INSTANCES: - html_context["project_links"].append(ProjectLink("Public instances", brand.PUBLIC_INSTANCES)) if brand.TWITTER_URL: html_context["project_links"].append(ProjectLink("Twitter", brand.TWITTER_URL)) if brand.ISSUE_URL: diff --git a/docs/index.rst b/docs/index.rst index a406da19..725af52a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -8,9 +8,6 @@ Searx is a free internet metasearch engine which aggregates results from more than 70 search services. Users are neither tracked nor profiled. Additionally, searx can be used over Tor for online anonymity. -Get started with searx by using one of the Searx-instances_. If you don't trust -anyone, you can set up your own, see :ref:`installation`. - .. sidebar:: Features - Self hosted @@ -33,5 +30,3 @@ anyone, you can set up your own, see :ref:`installation`. searx_extra/index utils/index blog/index - -.. _Searx-instances: https://searx.space