Unverified Commit 3ae631c8 by Francisco Giordano Committed by GitHub

Fix display of array arguments in documentation (#2141)

* remove pass:normal from docs template

* add back pass:normal for auto links
parent 0afba1fb
{{~#*inline "typed-variable-array"~}} {{~#*inline "typed-variable-array"~}}
{{#each .}}[.var-type\]#{{typeName}}#{{#if name}} [.var-name\]#{{name}}#{{/if}}{{#unless @last}}, {{/unless}}{{/each}} {{#each .}}[.var-type]#{{typeName}}#{{#if name}} [.var-name]#{{name}}#{{/if}}{{#unless @last}}, {{/unless}}{{/each}}
{{~/inline~}} {{~/inline~}}
{{#each linkable}} {{#each linkable}}
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
{{#each ownModifiers}} {{#each ownModifiers}}
[.contract-item] [.contract-item]
[[{{anchor}}]] [[{{anchor}}]]
==== `pass:normal[{{name}}({{> typed-variable-array args}})]` [.item-kind]#modifier# ==== `{{name}}({{> typed-variable-array args}})` [.item-kind]#modifier#
{{natspec.devdoc}} {{natspec.devdoc}}
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
{{#each ownFunctions}} {{#each ownFunctions}}
[.contract-item] [.contract-item]
[[{{anchor}}]] [[{{anchor}}]]
==== `pass:normal[{{name}}({{> typed-variable-array args}}){{#if outputs}}{{> typed-variable-array outputs}}{{/if}}]` [.item-kind]#{{visibility}}# ==== `{{name}}({{> typed-variable-array args}}){{#if outputs}}{{> typed-variable-array outputs}}{{/if}}` [.item-kind]#{{visibility}}#
{{natspec.devdoc}} {{natspec.devdoc}}
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
{{#each ownEvents}} {{#each ownEvents}}
[.contract-item] [.contract-item]
[[{{anchor}}]] [[{{anchor}}]]
==== `pass:normal[{{name}}({{> typed-variable-array args}})]` [.item-kind]#event# ==== `{{name}}({{> typed-variable-array args}})` [.item-kind]#event#
{{natspec.devdoc}} {{natspec.devdoc}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment