Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Use consistent tags in documentation comments #699

Open
@bamarsha

Description

@bamarsha

Most documentation comments in the compiler only use the <summary> tag. For short comments, this is fine, but in many cases the summary is several paragraphs long and would be easier to read if it used standard documentation tags to structure the information. This is especially important for exceptions - exceptions mentioned in the <summary> tag are easy to miss, whereas the special <exception> tag makes them stand out more.

I think we need to use some rules for our doc comments. My proposal is:

  1. Limit <summary> to one paragraph. Anything longer than that should go in specific tags as appropriate, or the <remarks> tag if none of the other tags apply.
  2. Always put exceptions in an <exception> tag.

Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationgood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions