generate

Generates a search index from the given subdocument graph. Each subdocument becomes a SearchEntry containing its URL, metadata, and headings.

Return

a SearchIndex containing all searchable entries

Parameters

graph

the subdocument graph representing the documentation structure