Compare commits

...

2 Commits

Author SHA1 Message Date
a4fc50c501 Only display own modifiers in contract docs index
(cherry picked from commit e12cb97e16)
2020-11-27 10:57:27 -03:00
cddeaa226d Remove Context from function index in docs site
(cherry picked from commit a3a7e6fa34)
2020-11-27 10:57:20 -03:00

View File

@ -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}}
@ -34,6 +27,7 @@
.Functions
--
{{#each inheritedItems}}
{{#if (or @first (ne contract.name "Context"))}}
{{#unless @first}}
[.contract-subindex-inherited]
.{{contract.name}}
@ -42,6 +36,7 @@
* {xref-{{slug anchor~}} }[`++{{name}}({{args.names}})++`]
{{/each}}
{{/if}}
{{/each}}
--
{{/if}}