Explorar el Código

Only display own modifiers in contract docs index

Francisco Giordano hace 4 años
padre
commit
e12cb97e16
Se han modificado 1 ficheros con 2 adiciones y 9 borrados
  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}}