foundry icon indicating copy to clipboard operation
foundry copied to clipboard

feat(docs): Support implicit inheritance for Natspec

Open lucas-manuel opened this issue 2 years ago • 2 comments

Component

Forge

Describe the feature you would like

For repositories that declare all Natspec at the interface level and inherit and override all functions, it would be nice to be able to parse the Natspec that corresponds to those functions without @inheritdoc syntax since the vast majority of the time the inheritance relationship is one-to-one.

In the case of a function that overrides multiple inherited functions, @inheritdoc syntax can be enforced, or a contract can be selected dynamically.

Additional context

No response

lucas-manuel avatar Jan 11 '23 19:01 lucas-manuel