Expand description
Help topic registry – re-exported from
lattice-help::topics.
Moved from lattice-ui-tui in Phase 5.2 first wave.
Structs§
- Help
Topic - One free-form help topic.
- Help
Topic Registry - Catalogue of every registered topic, keyed by name. Plugins and
future LSP integrations register through
register. - Help
Topics Generator gen:help-topics. Returns oneRawCandidateper registered help topic so:help <Tab>enumerates available topics. The payload isCandidateData::Plain– topic name alone is enough for the v1 popup; future polish can introduce a richerHelpTopicvariant if summaries need to flow through the matcher / annotator pipeline.
Enums§
- Help
Topic Body - Where a topic’s body comes from.
Functions§
- builtin_
topics - The built-in topic set, generated at build time by
build.rsfrom everydocs/user/**/*.md(recursively, skippingtutor/). Each doc’s---YAML frontmatter suppliessummary+related(see the build script); bodies are embedded as string literals so the binary stays self-contained — no runtime filesystem dependency. Adding a doc requires no change here: drop the.mdintodocs/user/and it registers automatically. CR.1: returns the registry by value. The caller wraps it in aHelpTopicRegistryHandleviaHelpTopicRegistry::into_handle— the builtin set is the initial contents of a runtime-writable registry now, not the whole of it.
Type Aliases§
- Help
Topic Registry Handle - The runtime-mutable handle, registered as a boot service under this
exact alias (the
ServiceRegistryArc/TypeId convention).