Module export

Module export 

Source
Expand description

Export the search index as JSON for static site search.

Produces a data.json file containing all documents and chunks, suitable for use with ctx-search.js on static sites. Replaces the Python one-liner previously used in build-docs.sh.

Structsยง

ExportChunk ๐Ÿ”’
ExportData ๐Ÿ”’
ExportDocument ๐Ÿ”’

Functionsยง

run_export
Export documents and chunks as JSON.