[docs] update_external_bangs.py - implement script to document bangs

Function 'write_external_bang_doc(..)' generates documentation of the external
bangs in folder 'docs/admin/external_bang'.  Ducumentation will be update when
external bangs are updated::

    ./manage pyenv.cmd searx_extra/update/update_external_bangs.py

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2020-07-05 10:47:47 +02:00
parent 92c68fe636
commit e32979aa3e
4 changed files with 190 additions and 15 deletions

View file

@ -0,0 +1,19 @@
.. _external bang:
===============
External !!bang
===============
.. warning::
*External Bangs* are shortcuts that quickly redirect you to search results on
other sites.
**The search is done on the external site without protecting your privacy.**
.. toctree::
:maxdepth: 2
:caption: Contents
:glob:
external_bang/*/index

View file

@ -14,6 +14,7 @@ Administrator documentation
installation-docker
update-searx
engines/index
external_bang
api
architecture
filtron