Skip to content

[Feature Request for DOC] Provide some mechanism or system to track docs for diagnostics #10757

@ArcturusZhang

Description

@ArcturusZhang

Clear and concise description of the problem

In our downstream emitters, we need to define quite a few diagnostic warnings or errors to enforce something that the emitter cannot handle or not recommend.
Now we could define a code and a message for it. It may not be a best practice that a message reported here would be very long to describe everything about the diagnostic, because in real life, to make sure the emitter use could be self-serving, quite a few things might need to be explained - such as, why this happens, how this happens, and the most important: what they should do to make the diagnostic gone.
I think a line of message may not be able to explain all these.
Is it possible that we could have some mechanism (maybe tspd?) to collect an extra doc we write in each individual emitter to describe everything for each diagnostic?

Checklist

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Metadata

Metadata

Assignees

Labels

design:neededA design request has been raised that needs a proposalfeatureNew feature or requesttriaged:coretspdIssues for the tspd tool

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions