* Render one link's rewrite, preserving its written form (`@site/…`, absolute URL, relative * file/url, with any `#anchor`/`?query` suffix). Shared by both planners — the only thing that * differs between inbound and outbound is which side moved, expressed via `target`/`container`. * * Returns `
(
record: LinkRecord,
target: { abs: string; url: string | null },
container: { abs: string; url: string | null },
index: DocsIndex,
)
source not stored for this graph (policy: none)
no test coverage detected