-
Notifications
You must be signed in to change notification settings - Fork 120
documenting Struct/ Enum/ Constant outside of contract #333
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
Comments
specifically speaking
|
Thanks for reaching out @Joe-mcgee. This is not currently supported. I'm interested in it but the code is structured around documenting contracts, and I haven't figure out how to implement it. |
Thanks for looking into it and letting me know @frangio :) |
Hello there @frangio. I am also very interested in documenting structs outside of contracts. Are there any plans on that front nowadays? I am also unsure whether this depends on ethereum/solidity#12295 to be done first. Cheers, and thanks for this great tool! |
@miltonjonat This is technically supported in the 0.6 release. Unfortunately as you point out the actual contents of the NatSpec will not show up, but the struct and enum data type definitely will show up in the produced docs. |
Ok @frangio thanks! Is there any open issue covering having NatSpec comments showing up in structs? |
The issue is on the Solidity side. ethereum/solidity#12295 |
Uh oh!
There was an error while loading. Please reload this page.
Hi, I'm attempting to document an EIP-2535 Diamond contract that utilizies an 'AppStorage' pattern such as in AAVEGotchi Thing is this pattern makes extensive use of structs outside of contracts. To which I cant seem to docgen to register it.
Is documenting structs outside of contracts possible, or if not, planned to be implemented?
Thanks!
The text was updated successfully, but these errors were encountered: