Only display own modifiers in contract docs index
(cherry picked from commit e12cb97e16)
This commit is contained in:
@ -12,19 +12,12 @@
|
||||
|
||||
{{natspec.devdoc}}
|
||||
|
||||
{{#if modifiers}}
|
||||
{{#if ownModifiers}}
|
||||
[.contract-index]
|
||||
.Modifiers
|
||||
--
|
||||
{{#each inheritedItems}}
|
||||
{{#unless @first}}
|
||||
[.contract-subindex-inherited]
|
||||
.{{contract.name}}
|
||||
{{/unless}}
|
||||
{{#each modifiers}}
|
||||
{{#each ownModifiers}}
|
||||
* {xref-{{slug anchor~}} }[`++{{name}}({{args.names}})++`]
|
||||
{{/each}}
|
||||
|
||||
{{/each}}
|
||||
--
|
||||
{{/if}}
|
||||
|
||||
Reference in New Issue
Block a user