Skip to content

Support compiler directives or similar mechanism  #1098

Open
@dfeinzimer

Description

@dfeinzimer

Feature Name

Documentation availability

Description

Add support for compiler directives like #if targetEnvironment(_) or a similar mechanism for conditionally including lines of text in built documentation to prevent "'symbol' doesn't exist at .." warnings when building doc for different targets.

Motivation

Prevent warnings for unavailable symbols on the targeted platform when building documentation.

Importance

Allows building documentation for all platforms without triggering any "doesn't exist" warnings.

Alternatives Considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovements or enhancements to existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions