Merge pull request #666 from return42/mod-doc

[docs] move searxng_extra/ stuff to the developer section.
This commit is contained in:
Markus Heiser 2022-01-03 10:25:14 +01:00 committed by GitHub
commit b630c5d7bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 2 deletions

View File

@ -16,3 +16,4 @@ Developer documentation
lxcdev lxcdev
makefile makefile
reST reST
searxng_extra/index

View File

@ -5,7 +5,7 @@ Tooling box ``searxng_extra`` for developers and users
====================================================== ======================================================
In the folder :origin:`searxng_extra/` we maintain some tools useful for In the folder :origin:`searxng_extra/` we maintain some tools useful for
developers and users. developers.
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2

View File

@ -33,7 +33,6 @@ If you don't trust anyone, you can set up your own, see :ref:`installation`.
user/index user/index
admin/index admin/index
dev/index dev/index
searxng_extra/index
utils/index utils/index
src/index src/index

View File

@ -23,6 +23,14 @@ Example to use this script:
$ python3 searxng_extra/standalone_searx.py rain $ python3 searxng_extra/standalone_searx.py rain
.. danger::
Be warned, using the ``standalone_searx.py`` won't give you privacy!
On the contrary, this script behaves like a SearXNG server: your IP is
exposed and tracked by all active engines (google, bing, qwant, ... ), with
every query!
Example to run it from python: Example to run it from python:
>>> import importlib >>> import importlib
@ -62,6 +70,7 @@ Example to run it from python:
}, },
"suggestions": [...] "suggestions": [...]
} }
""" # pylint: disable=line-too-long """ # pylint: disable=line-too-long
import argparse import argparse