Namespace documentation #54
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
question
Further information is requested
Milestone
We should consider adding support for documentation for namespaces.
Unfortunately, in C# namespaces cannot have XML documentation. As an alternative, we could use something more convention-based. For example, define a
file
-scopedNamespace
class and attach documentation to it:We could also ignore C# restrictions, and attach documentation to the namespace regardless:
Given that we use static syntax analysis, we should still be able to extract the leading trivia for the namespace and convert it into proper namespace documentation.
The text was updated successfully, but these errors were encountered: