onflow/cadence-tools

[DocGen] Resource function comments not being fully generated

alilloig opened this issue · 1 comments

Issue to be solved

At a resource that has more than one function, the comments for the second and further functions are not fully generated (they do not include the description and the param/return section)

e.g.:
source code -> https://github.com/onflow/flow-nft/blob/f8d716eb98c8d8eee1f45efb3eeaf01831312192/contracts/NonFungibleToken.cdc#L163
generated doc -> https://github.com/onflow/flow-nft/blob/default-implenentations/docs/NonFungibleToken/NonFungibleToken_Collection.md

This should be fixed by onflow/cadence#2302 and onflow/cadence#2303.

TODO: verify once the docgen tool got updated