Commit e12cb97e by Francisco Giordano

Only display own modifiers in contract docs index

parent a3a7e6fa
...@@ -12,20 +12,13 @@ ...@@ -12,20 +12,13 @@
{{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}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment