sphinx_searchlite._index¶
Build the client-side search index.
Sphinx’s own searchindex.js is coupled to searchtools.js and its
dedicated search.html page. This emits plain records any front end can
score itself, keyed so that section anchors survive incremental builds.
Functions¶
|
Return one record for the page plus one per addressable section and object description. |
|
Module Contents¶
- sphinx_searchlite._index.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 and object description.
Keys are short because the index ships to the browser:
uurl,tpage title,ssection heading,xtext.