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