Quellcode durchsuchen

Only display own modifiers in contract docs index

Francisco Giordano vor 4 Jahren
Ursprung
Commit
e12cb97e16
1 geänderte Dateien mit 2 neuen und 9 gelöschten Zeilen
  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}}