Instance MethodMethodbuild
buildIndexPage(modules:tutorials:indexContent:)
Builds the combined index page HTML.
func buildIndexPage(
modules: [ModuleEntry ],
tutorials: [TutorialEntry ] = [],
indexContent: IndexContent ? = nil
) -> StringParameters
modulesThe documented modules to include.
tutorialsThe tutorial collections to include.
indexContentOptional content from an
INDEXfile. If provided, the title (if any) and body content are used. If.md nil, a default title and subtitle are shown instead.
Return Value
The complete HTML document as a string.