Structure
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)
Topics
Initializers
?
init(documentedModules:externalURLs:)
Creates a new post-processor.
Instance Properties
V
documentedModules
Known modules being documented (for cross-target resolution). Maps module name to its bundle identifier.
V
externalURLs
External documentation URL mappings (bundle ID -> base URL).
Instance Methods
F
process(_:currentDepth:)
Processes HTML content, replacing doc:// URLs with proper links.