1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[help] move about.md to searx/help/en/

This commit is contained in:
Martin Fischer 2022-02-05 10:29:33 +01:00 committed by Markus Heiser
parent 740e3bc90f
commit 579334a7d8
2 changed files with 1 additions and 1 deletions

View File

@ -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('# ')