Closed Shockah closed 3 months ago
Would it be possible to annotate the public members somehow (e.g. with a JetBrains.Annotations
.PublicAPI
attribute)? That would help with getting an overview of what needs to be documented.
It's essentially all types which are public, and all public members of said types.
At the same time, a PR doing this should enable a linting rule to warn about any missing documentation for public members.
Looking into this, it turns out MSBuild property GenerateDocumentationFile
(which enables generating an .xml
file with the documentation extracted) automatically enables the built-in warning for missing documentation on public types (CS1591
).
(dotnet format
does not display these, however. If we want a warning on PRs, that will require separate setup.)
Done in upcoming Nickel 1.0.0. The warning for missing docs is not yet setup.
At the same time, a PR doing this should enable a linting rule to warn about any missing documentation for public members.