Method
generate()
Generates static HTML documentation.
func generate() async throws -> GenerationResult
Return Value
A result containing information about the generated documentation.
Discussion
This method performs the following steps:
-
Generates symbol graphs using the Swift Package Manager
-
Runs docc convert to create a temporary .doccarchive
-
Parses the JSON render nodes from the archive
-
Renders all pages to static HTML
-
Writes CSS and JavaScript assets
-
Optionally generates a search index