Only display own modifiers in contract docs index

This commit is contained in:
Francisco Giordano
2020-11-20 13:37:22 -03:00
parent a3a7e6fa34
commit e12cb97e16

View File

@ -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}}