.oO SearXNG Developer Documentation Oo.
|
Classes | |
class | InfoPage |
class | InfoPageSet |
Functions | |
__getattr__ (name) | |
Variables | |
list | __all__ = ['InfoPage', 'InfoPageSet'] |
logger = logging.getLogger('searx.infopage') | |
_INFO_FOLDER = os.path.abspath(os.path.dirname(__file__)) | |
str | INFO_PAGES : 'InfoPageSet' |
Render SearXNG instance documentation. Usage in a Flask app route: .. code:: python from searx import infopage _INFO_PAGES = infopage.InfoPageSet(infopage.MistletoePage) @app.route('/info/<pagename>', methods=['GET']) def info(pagename): locale = request.preferences.get_value('locale') page = _INFO_PAGES.get_page(pagename, locale)
searx.infopage.__getattr__ | ( | name | ) |
Definition at line 45 of file __init__.py.
|
private |
Definition at line 22 of file __init__.py.
|
protected |
Definition at line 41 of file __init__.py.
str searx.infopage.INFO_PAGES : 'InfoPageSet' |
Definition at line 42 of file __init__.py.
searx.infopage.logger = logging.getLogger('searx.infopage') |
Definition at line 40 of file __init__.py.