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.
_index.yaml follows last-wins shadowing, not a deep merge: the
highest-priority layer’s file replaces the embedded one wholesale,
as rtb_assets::Assets::open_text does for any other path.