sphinx_searchlite¶
Client-side documentation search for any Sphinx theme.
Emits a small JSON index next to the build and ships a dependency-free BM25
engine to score it in the browser. Themes can either use the bundled dialog or
drive window.SearchLite themselves.
Submodules¶
Attributes¶
Functions¶
|
Return one record for the page plus one per addressable section. |
|
Package Contents¶
- sphinx_searchlite.collect_records(app, pagename: str, doctree: docutils.nodes.document) list[dict[str, str]][source]¶
Return one record for the page plus one per addressable section.
Keys are short because the index ships to the browser:
uurl,tpage title,ssection heading,xtext.
- sphinx_searchlite.STATIC_DIR¶
- sphinx_searchlite.ENGINE_DIR¶
- sphinx_searchlite.UI_DIR¶