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>
This commit is contained in:
committed by
GitHub
parent
e2876b947d
commit
7f62c8e145
@ -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}}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{{#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}}
|
||||
|
||||
Reference in New Issue
Block a user