summaryrefslogtreecommitdiff
path: root/docs/utils
diff options
context:
space:
mode:
authorrachmadani haryono <rachmadaniHaryono@users.noreply.github.com>2020-11-04 20:38:54 +0800
committerGitHub <noreply@github.com>2020-11-04 12:38:54 +0000
commitc03e4c86bc49d6ef4664c038066d9f1c16e7dafc (patch)
tree48853358314a01448dd651f6f94620cad7dfc88f /docs/utils
parent1b42d42695070f4a93f4df1605dcdff70f4d4d10 (diff)
downloadsearxng-c03e4c86bc49d6ef4664c038066d9f1c16e7dafc.tar.gz
searxng-c03e4c86bc49d6ef4664c038066d9f1c16e7dafc.zip
Feature/standalone searx update (#1591)
* chg: dev: update standalone_searx parent d8a5df721b33dd8a7cc9e21dba4060f21d629f69 author rachmadaniHaryono <foreturiga@gmail.com> 1603896594 +0800 committer rachmadaniHaryono <foreturiga@gmail.com> 1603896619 +0800 chg: dev: debug engine_shortcuts chg: dev: only initilize if engine is given chg: dev: split main chg: dev: standalone_searx chg: dev: update standalone_searx chg: doc: remove unnecessary log chg: test: differentiate travis chg: test: disable shortcut chg: test: use default engine settings fix: dev: category choices fix: dev: duplicate engine shortcut fix: dev: travis python3 fix: test: use empty string as shortcut fix: test: apkm fix: test: engine shortcut fix: test: mypy fix: test: parameter fix: test: pep8 fix: test: py2 compatibilities fix: test: searx settings fix: test: travis engines new: dev: deduplicate engine new: dev: main receive engines parameter new: dev: parse_argument accept engines parameter new: dev: split search query from get_result func new: test: basic result case Suggestions: use RawTextQuery to make the suggestions URLs. Update all themes accordingly. * new: doc: searx import and init * chg: dev: parse_argument - doc - run on __main__ - simple parse_args * chg: doc: module * chg: dev: import section - remove unused python path modification - new required package * chg: dev: script run - parse_argument func return directly parsed results - main func return dict instead json text - dump directly on sys.stdout.write * chg: dev: get_search_query and get_search_query func * chg: dev: main func - move inner function outside - return dict instead of json text * new: dev: add utils to doc sys path * new: doc: standalone_searx * fix: doc: run script * chg: dev: mypy type hint * chg: dev: SearchQuery don't have attr engines * chg: dev: reset engines __init__ * chg: test: unit test update * chg: dev: pylint and flake8 * new: test: standalone_searx * chg: dev: main func and doc * chg: dev: import and type hint * new: dev: main func - remove get_result func - single func which just translate dict * chg: test: put mypy on dev requirement * chg: doc: update * new: doc: add standalone_searx module member * chg: doc: shell command line * chg: dev: remove mypy * chg: doc: module docstring
Diffstat (limited to 'docs/utils')
-rw-r--r--docs/utils/index.rst1
-rw-r--r--docs/utils/standalone_searx.py.rst11
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/utils/index.rst b/docs/utils/index.rst
index 13914af28..3c7387875 100644
--- a/docs/utils/index.rst
+++ b/docs/utils/index.rst
@@ -16,6 +16,7 @@ developers.
filtron.sh
morty.sh
lxc.sh
+ standalone_searx.py
.. _toolboxing common:
diff --git a/docs/utils/standalone_searx.py.rst b/docs/utils/standalone_searx.py.rst
new file mode 100644
index 000000000..557c4b75b
--- /dev/null
+++ b/docs/utils/standalone_searx.py.rst
@@ -0,0 +1,11 @@
+
+.. _standalone_searx.py:
+
+=============================
+``utils/standalone_searx.py``
+=============================
+
+.. automodule:: standalone_searx
+ :members:
+
+