Browse Source

[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 <markus.heiser@darmarit.de>
Markus Heiser 3 weeks ago
parent
commit
15384e8fc5
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docs/conf.py
  2. 1 1
      searx/engines/meilisearch.py

+ 1 - 1
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"
 

+ 1 - 1
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
 =======