diff options
author | Martin Fischer <martin@push-f.com> | 2022-02-05 10:29:33 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-03-07 08:29:00 +0100 |
commit | 579334a7d806a8d8edc1f3a51399c05636354759 (patch) | |
tree | d258660a92df1268aa3bcb5c04ed6fd9850021ad /searx | |
parent | 740e3bc90f0e8672c0c003b03d07e3c08b89064c (diff) | |
download | searxng-579334a7d806a8d8edc1f3a51399c05636354759.tar.gz searxng-579334a7d806a8d8edc1f3a51399c05636354759.zip |
[help] move about.md to searx/help/en/
Diffstat (limited to 'searx')
-rw-r--r-- | searx/help/en/about.md (renamed from searx/help/about.md) | 0 | ||||
-rw-r--r-- | searx/user_help.py | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/searx/help/about.md b/searx/help/en/about.md index dd7cd4515..dd7cd4515 100644 --- a/searx/help/about.md +++ b/searx/help/en/about.md diff --git a/searx/user_help.py b/searx/user_help.py index ae08ce760..1914c7c84 100644 --- a/searx/user_help.py +++ b/searx/user_help.py @@ -47,7 +47,7 @@ def render(app: flask.Flask): define_link_targets = ''.join(f'[{name}]: {url}\n' for name, url in link_targets.items()) for pagename in _TOC: - file_content = pkg_resources.resource_string(__name__, 'help/' + pagename + '.md').decode() + file_content = pkg_resources.resource_string(__name__, 'help/en/' + pagename + '.md').decode() markdown = define_link_targets + file_content assert file_content.startswith('# ') title = file_content.split('\n', maxsplit=1)[0].strip('# ') |