-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Natspec-only docs #414
Comments
This is an interesting idea. You should be able to implement it in solidity-docgen 0.6 with a custom template that renders conditionally if |
do you know what would be needed to conditionally render / omit private/internal items? i noticed |
Private items should always be omitted automatically. It doesn't make sense to document them as they are not part of the interface. Internal items you can omit by filter by Is this related to this issue though? If not, please open another issue I can share more details. |
I also think it should be default |
Could we have an config option to only generate docs for items with natspec documentation, i.e. contracts, interfaces, libraries, functions, and events. I comment all these accordingly, but often have uncommented internal/private items. As such, the generated docs have many redundant entries. It would be nice to have a natspec only option.
The text was updated successfully, but these errors were encountered: