show: resolve package-qualified path references via -L/-P roots master
Reconstruct the driver's named roots for the whole switch — one page root (-P) per package (doc/<pkg>) and one lib root (-L) per library (doc/<pkg>/<lib>) — and pass them to Resolver.create. This makes package-qualified path references resolve, e.g.: switchdocs show /stdlib/Stdlib.List.map switchdocs show /astring/Astring switchdocs show /astring/index current_lib/current_package are left None (show has no "current" unit, so relative and current-package path references don't apply; absolute /pkg/... ones do). The named-root dirs are a subset of the existing -I set, so ordinary dotted-name resolution is unchanged. Loading is generalised to handle both compilation units and mld pages: the file owning an identifier is found by matching the identifier-key suffix (owns), which also disambiguates the many identically-named page-index.odocl files across packages. Doc pages render in full via document_of_page. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>