Expand description
Load docs from an rtb_assets::Assets tree into the
(Index, HashMap<path, body>) shape that crate::DocsBrowser and
crate::DocsServer consume.
The convention is:
<root>/_index.yamlโ optional, parsed viacrate::index::parse_index.- Every
.mdfile under<root>/โ body is loaded into the returnedHashMapkeyed on its<root>-relative path. When no_index.yamlis present,crate::index::scan_indexderives one from the discovered pages.
Asset-source layering is preserved: an embedded _index.yaml is
deep-merged with on-disk overrides exactly as
rtb_assets::Assets::load_merged_yaml does for any other YAML.