Skip Navigation
StructureStructure

DocLinkPostProcessor

Post-processes generated HTML to resolve doc:// URLs into proper links.

struct DocLinkPostProcessor

Overview

This processor scans HTML content for unresolved doc:// URLs and replaces them with proper <a href="..."> links based on:

  • Cross-target links within the same package (relative links)

  • Included dependencies (relative links)

  • External documentation URL mappings (absolute links)

A link to a page of a documented module that is not generated is left as text, unless the page resolver knows external documentation for it.

Topics

Relationships

  • Swift.Sendable
  • Swift.SendableMetatype

See Also