Skip to content

Provide an index of educational notes for compiler errors #910

Open
@hborla

Description

@hborla

I'm starting to expand coverage for educational notes in the compiler. These are longer form explanations for error messages that explain why the problem happens and show possible strategies for resolving the error. These notes ship in the toolchain as markdown files, where the base name of the markdown file is a stable identifier for the educational note. It would be great to provide an educational notes index on Swift.org.

I’m not sure how difficult it would be to automate taking the markdown files from the compiler and adding some DocC scaffolding around it to build and render at some specified Swift.org link (ideally docs.swift.org/errors or similar), but that seems like it might be a reasonable approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinfo-architectureIssues that are being considered as part of the larger information architecture design effort.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions