Unverified Commit 7f62c8e1 by Francisco Giordano Committed by GitHub

Fix docs links to overloaded functions (#2275)

* fix links to overloaded functions

* fix Address xrefs

Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
parent e2876b94
......@@ -78,7 +78,7 @@ library Address {
}
/**
* @dev Same as {Address-functionCall-address-bytes-}, but with
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
......@@ -108,7 +108,7 @@ library Address {
}
/**
* @dev Same as {Address-functionCallWithValue-address-bytes-uint256-}, but
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
......
......@@ -22,7 +22,7 @@
.{{contract.name}}
{{/unless}}
{{#each modifiers}}
* {xref-{{slug fullName~}} }[`++{{name}}({{args.names}})++`]
* {xref-{{slug anchor~}} }[`++{{name}}({{args.names}})++`]
{{/each}}
{{/each}}
......@@ -39,7 +39,7 @@
.{{contract.name}}
{{/unless}}
{{#each functions}}
* {xref-{{slug fullName~}} }[`++{{name}}({{args.names}})++`]
* {xref-{{slug anchor~}} }[`++{{name}}({{args.names}})++`]
{{/each}}
{{/each}}
......@@ -56,7 +56,7 @@
.{{contract.name}}
{{/unless}}
{{#each events}}
* {xref-{{slug fullName~}} }[`++{{name}}({{args.names}})++`]
* {xref-{{slug anchor~}} }[`++{{name}}({{args.names}})++`]
{{/each}}
{{/each}}
......
{{#links}}
:{{slug target.fullName}}: pass:normal[xref:{{path}}#{{target.anchor}}[`{{target.fullName}}`]]
:xref-{{slug target.fullName}}: xref:{{path}}#{{target.anchor}}
:xref-{{slug target.anchor}}: xref:{{path}}#{{target.anchor}}
{{/links}}
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