Only display own modifiers in contract docs index

(cherry picked from commit e12cb97e16)
This commit is contained in:
Francisco Giordano
2020-11-20 13:37:22 -03:00
parent cddeaa226d
commit a4fc50c501

View File

@ -12,19 +12,12 @@
{{natspec.devdoc}} {{natspec.devdoc}}
{{#if modifiers}} {{#if ownModifiers}}
[.contract-index] [.contract-index]
.Modifiers .Modifiers
-- --
{{#each inheritedItems}} {{#each ownModifiers}}
{{#unless @first}}
[.contract-subindex-inherited]
.{{contract.name}}
{{/unless}}
{{#each modifiers}}
* {xref-{{slug anchor~}} }[`++{{name}}({{args.names}})++`] * {xref-{{slug anchor~}} }[`++{{name}}({{args.names}})++`]
{{/each}}
{{/each}} {{/each}}
-- --
{{/if}} {{/if}}