From 15384e8fc596da9c4a7e27393f8100018c3a61ed Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 9 Apr 2025 16:36:50 +0200 Subject: [PATCH] [fix] make docs - ERROR: Unknown target name: "auth_key" BTW: fix a bug with sys.path: repo-root (not util) needs to added to generate autodoc from scripts in ./searxng_extra Signed-off-by: Markus Heiser --- docs/conf.py | 2 +- searx/engines/meilisearch.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 25d071f83..468c160cb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -161,7 +161,7 @@ issues_github_path = "searxng/searxng" notfound_urls_prefix = '/' sys.path.append(os.path.abspath('_themes')) -sys.path.insert(0, os.path.abspath("../utils/")) +sys.path.insert(0, os.path.abspath("../")) html_theme_path = ['_themes'] html_theme = "searxng" diff --git a/searx/engines/meilisearch.py b/searx/engines/meilisearch.py index 1a9ca8431..7520adb06 100644 --- a/searx/engines/meilisearch.py +++ b/searx/engines/meilisearch.py @@ -15,7 +15,7 @@ The engine supports faceted search, so you can search in a subset of documents of the collection. Furthermore, you can search in MeiliSearch_ instances that require authentication by setting `auth_key`_. -.. auth_key: https://www.meilisearch.com/docs/reference/api/overview#authorization +.. _auth_key: https://www.meilisearch.com/docs/reference/api/overview#authorization Example =======