Преглед на файлове

Only display own modifiers in contract docs index

Francisco Giordano преди 4 години
родител
ревизия
e12cb97e16
променени са 1 файла, в които са добавени 2 реда и са изтрити 9 реда
  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}}