Parcourir la source

Only display own modifiers in contract docs index

(cherry picked from commit e12cb97e16768115e40f879822883dad3d5801a5)
Francisco Giordano il y a 4 ans
Parent
commit
a4fc50c501
1 fichiers modifiés avec 2 ajouts et 9 suppressions
  1. 2 9
      docs/contract.hbs

+ 2 - 9
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}}