pub fn section_help(key: &str) -> &'static strExpand description
Help blurb for a section key, covering both Section variants and
the long tail of top-level Config fields the dashboard / TUI config
editor surface (gateway, scheduler, observability, …). Single source
of truth shared by every surface — the gateway sidebar, the CLI
onboard flow, and the future TUI config editor all call this rather
than maintaining parallel tables.
Resolution order:
Sectionvariants (curatedhelptext next to the variant declaration in thesections!macro).- The
Configstruct’s#[nested]field-level///docstring, harvested by theConfigurablederive intoConfig::nested_section_help. This is what makes adding a new top-level section a one-line schema change with no parallel help table to update.
Returns "" for keys without a docstring so callers can decide
whether to omit the help row or show a fallback.