Contents

Options

A directive to adjust Swift-DocC’s default behaviors when rendering a page.

Declaration

@Options(scope: Scope = local) {
    ...
}

Parameters

  • scope:

    Whether the options in this Options directive should apply locally to the page or globally to the DocC catalog. (optional)

    local

    The directive should only affect the current page.

    global

    The directive should affect all pages in the current DocC catalog.

Topics

Adjusting Automatic Behaviors

Adjusting Visual Style

See Also

Configuring Documentation Behavior