Method
renderFromArchive(_:)
Renders documentation from an existing DocC archive to static HTML.
func renderFromArchive(_ archiveURL: URL) async throws -> GenerationResult
Parameters
archiveURL-
Path to the
.doccarchivedirectory.
Return Value
The generation result with statistics.
Discussion
This method allows rendering from a pre-generated .doccarchive without needing to build symbol graphs, which is useful for testing and quick iterations.