Browse Source

Merge pull request #666 from return42/mod-doc

[docs] move searxng_extra/ stuff to the developer section.
Markus Heiser 3 years ago
parent
commit
b630c5d7bc

+ 1 - 0
docs/dev/index.rst

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

+ 1 - 1
docs/searxng_extra/index.rst → docs/dev/searxng_extra/index.rst

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

+ 0 - 0
docs/searxng_extra/standalone_searx.py.rst → docs/dev/searxng_extra/standalone_searx.py.rst


+ 0 - 1
docs/index.rst

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

+ 9 - 0
searxng_extra/standalone_searx.py

@@ -23,6 +23,14 @@ Example to use this script:
 
     $ 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:
 
 >>> import importlib
@@ -62,6 +70,7 @@ Example to run it from python:
     },
     "suggestions": [...]
 }
+
 """  # pylint: disable=line-too-long
 
 import argparse