Skip to content

Commit 5407d10

Browse files
committed
Remove xref in contract.hbs to avoid docs rendering issues
1 parent 3496da2 commit 5407d10

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/templates/contract.hbs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import "@openzeppelin/{{__item_context.file.absolutePath}}";
1818
.Modifiers
1919
--
2020
{{#each modifiers}}
21-
* {xref-{{anchor~}} }[`++{{name}}({{names params}})++`]
21+
* `++{{name}}({{names params}})++`
2222
{{/each}}
2323
--
2424
{{/if}}
@@ -33,7 +33,7 @@ import "@openzeppelin/{{__item_context.file.absolutePath}}";
3333
.{{contract.name}}
3434
{{/unless}}
3535
{{#each functions}}
36-
* {xref-{{anchor~}} }[`++{{name}}({{names params}})++`]
36+
* `++{{name}}({{names params}})++`
3737
{{/each}}
3838

3939
{{/each}}
@@ -50,7 +50,7 @@ import "@openzeppelin/{{__item_context.file.absolutePath}}";
5050
.{{name}}
5151
{{/unless}}
5252
{{#each events}}
53-
* {xref-{{anchor~}} }[`++{{name}}({{names params}})++`]
53+
* `++{{name}}({{names params}})++`
5454
{{/each}}
5555

5656
{{/each}}
@@ -67,7 +67,7 @@ import "@openzeppelin/{{__item_context.file.absolutePath}}";
6767
.{{name}}
6868
{{/unless}}
6969
{{#each errors}}
70-
* {xref-{{anchor~}} }[`++{{name}}({{names params}})++`]
70+
* `++{{name}}({{names params}})++`
7171
{{/each}}
7272

7373
{{/each}}
@@ -84,7 +84,7 @@ import "@openzeppelin/{{__item_context.file.absolutePath}}";
8484
.{{name}}
8585
{{/unless}}
8686
{{#each internal-variables}}
87-
* {xref-{{anchor~}} }[`++{{typeDescriptions.typeString}} {{#if constant}}constant{{/if}} {{name}}++`]
87+
* `++{{typeDescriptions.typeString}} {{#if constant}}constant{{/if}} {{name}}++`
8888
{{/each}}
8989

9090
{{/each}}

0 commit comments

Comments
 (0)