Documentation Language: Swift

Structure

RenderContentHTMLRenderer

Renders DocC render content to HTML.

struct RenderContentHTMLRenderer

Overview

This type converts RenderInlineContent and RenderBlockContent from SwiftDocC’s render model into HTML strings.

Topics

Structures

S
RenderContentHTMLRenderer.InlineResult

The result of rendering inline content.

Initializers

?
init()

Creates a new content renderer.

Instance Methods

F
renderBlockContent(_:references:depth:)

Renders a block content element to HTML.

F
renderInlineContent(_:references:depth:)

Renders an array of inline content elements to HTML.

Relationships

Conforms To

See Also

Rendering

S
HTMLPageBuilder

Builds complete HTML pages from render nodes.

S
IndexPageBuilder

Builds a combined index page listing all documented modules.

C
StaticHTMLConsumer

A consumer that writes documentation to static HTML files.