foundry
foundry copied to clipboard
feat(docs): Support implicit inheritance for Natspec
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