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}}
{{#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}}