Only display own modifiers in contract docs index

(cherry picked from commit e12cb97e16)
release-v3.3
Francisco Giordano 4 years ago
parent cddeaa226d
commit a4fc50c501
  1. 11
      docs/contract.hbs

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

Loading…
Cancel
Save