Skip to content

Commit

Permalink
Remove xref in contract.hbs to avoid docs rendering issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestognw committed Nov 29, 2024
1 parent 3496da2 commit 5407d10
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/templates/contract.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import "@openzeppelin/{{__item_context.file.absolutePath}}";
.Modifiers
--
{{#each modifiers}}
* {xref-{{anchor~}} }[`++{{name}}({{names params}})++`]
* `++{{name}}({{names params}})++`
{{/each}}
--
{{/if}}
Expand All @@ -33,7 +33,7 @@ import "@openzeppelin/{{__item_context.file.absolutePath}}";
.{{contract.name}}
{{/unless}}
{{#each functions}}
* {xref-{{anchor~}} }[`++{{name}}({{names params}})++`]
* `++{{name}}({{names params}})++`
{{/each}}

{{/each}}
Expand All @@ -50,7 +50,7 @@ import "@openzeppelin/{{__item_context.file.absolutePath}}";
.{{name}}
{{/unless}}
{{#each events}}
* {xref-{{anchor~}} }[`++{{name}}({{names params}})++`]
* `++{{name}}({{names params}})++`
{{/each}}

{{/each}}
Expand All @@ -67,7 +67,7 @@ import "@openzeppelin/{{__item_context.file.absolutePath}}";
.{{name}}
{{/unless}}
{{#each errors}}
* {xref-{{anchor~}} }[`++{{name}}({{names params}})++`]
* `++{{name}}({{names params}})++`
{{/each}}

{{/each}}
Expand All @@ -84,7 +84,7 @@ import "@openzeppelin/{{__item_context.file.absolutePath}}";
.{{name}}
{{/unless}}
{{#each internal-variables}}
* {xref-{{anchor~}} }[`++{{typeDescriptions.typeString}} {{#if constant}}constant{{/if}} {{name}}++`]
* `++{{typeDescriptions.typeString}} {{#if constant}}constant{{/if}} {{name}}++`
{{/each}}

{{/each}}
Expand Down

0 comments on commit 5407d10

Please sign in to comment.