refs: converge Markdown link resolution on one scoped catalog
Add the single pure document-link resolver: it resolves exact anchors first, collects all canonical-name fallback candidates, decodes percent escapes once, and distinguishes resolved/not_loaded/missing/ambiguous/external/outside_scope/ invalid without network access or caller-entry fallback. The loaded catalog never opens a link target; the explicit --refs catalog may verify directly referenced files once, inside the package root, with symlink refusal and read limits. Add unit-range ownership helpers to the heading index and focused resolver tests.
This commit is contained in:
1 parent
d8212aaa01
commit
1b214d48da
3 files changed
+1070
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -7,6 +7,7 @@
|
||||
mod analysis;
|
||||
mod args;
|
||||
mod commands;
|
||||
mod document_refs;
|
||||
mod extension_descriptors;
|
||||
mod extension_selection;
|
||||
mod loader;
|
||||
|
||||
Reference in new issue
Block a user