diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-10-11 19:59:34 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-10-30 16:11:01 +0200 |
commit | a9fc4885f2d4ab3fba8fd9fbaa0386090250bd11 (patch) | |
tree | b2682542e454729d437a93e463e2bc15bd29ec7e /docs | |
parent | 68effd5eda7a0e47ffddf5ed328d412251b12ebc (diff) | |
download | searxng-a9fc4885f2d4ab3fba8fd9fbaa0386090250bd11.tar.gz searxng-a9fc4885f2d4ab3fba8fd9fbaa0386090250bd11.zip |
[brand] SearXNG - bash env SEARXNG_URL
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/admin/engines/settings.rst | 2 | ||||
-rw-r--r-- | docs/conf.py | 4 | ||||
-rw-r--r-- | docs/dev/makefile.rst | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst index 7a354afee..c67b45669 100644 --- a/docs/admin/engines/settings.rst +++ b/docs/admin/engines/settings.rst @@ -109,7 +109,7 @@ Global Settings Changing a value tagged by :ref:`buildenv <make buildenv>`, needs to rebuild instance's environment :ref:`utils/brand.env <make buildenv>`. -``base_url`` : :ref:`buildenv SEARX_URL <make buildenv>` +``base_url`` : :ref:`buildenv SEARXNG_URL <make buildenv>` The base URL where SearXNG is deployed. Used to create correct inbound links. If you change the value, don't forget to rebuild instance's environment (:ref:`utils/brand.env <make buildenv>`) diff --git a/docs/conf.py b/docs/conf.py index da36db88a..4828679e8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,7 +14,7 @@ copyright = '2021 SearXNG team, 2015-2021 Adam Tauber, Noémi Ványi' author = '2021 SearXNG team, 2015-2021 Adam Tauber' release, version = VERSION_STRING, VERSION_STRING -SEARX_URL = get_setting('server.base_url') or 'https://example.org/searxng' +SEARXNG_URL = get_setting('server.base_url') or 'https://example.org/searxng' ISSUE_URL = get_setting('brand.issue_url') DOCS_URL = get_setting('brand.docs_url') PUBLIC_INSTANCES = get_setting('brand.public_instances') @@ -58,7 +58,7 @@ extlinks['pull-searx'] = ('https://github.com/searx/searx/pull/%s', 'PR ') # links to custom brand extlinks['origin'] = (GIT_URL + '/blob/' + GIT_BRANCH + '/%s', 'git://') extlinks['patch'] = (GIT_URL + '/commit/%s', '#') -extlinks['search'] = (SEARX_URL + '/%s', '#') +extlinks['search'] = (SEARXNG_URL + '/%s', '#') extlinks['docs'] = (DOCS_URL + '/%s', 'docs: ') extlinks['pypi'] = ('https://pypi.org/project/%s', 'PyPi: ') extlinks['man'] = ('https://manpages.debian.org/jump?q=%s', '') diff --git a/docs/dev/makefile.rst b/docs/dev/makefile.rst index 1db3ed703..6e563b1bd 100644 --- a/docs/dev/makefile.rst +++ b/docs/dev/makefile.rst @@ -107,7 +107,7 @@ The ``make buildenv`` target will update the *build environment* in: Tasks running outside of an *installed instance*, need the following settings from the YAML configuration: -- ``SEARX_URL`` from :ref:`server.base_url <settings global server>` (aka +- ``SEARXNG_URL`` from :ref:`server.base_url <settings global server>` (aka ``PUBLIC_URL``) - ``SEARXNG_BIND_ADDRESS`` from :ref:`server.bind_address <settings global server>` - ``SEARXNG_PORT`` from :ref:`server.port <settings global server>` |