Skip to content

Commit

Permalink
declarators render unnamed symbols
Browse files Browse the repository at this point in the history
#style
  • Loading branch information
alandefreitas committed Jan 2, 2025
1 parent c6cc73c commit 9ddac83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/mrdocs/addons/generator/common/partials/symbol/name.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
{{else~}}
{{#if (and link.url (not nolink))~}}
{{! Symbol with URL: link to the symbol documentation ~}}
{{#>markup/a href=link.url}}{{name}}{{/markup/a~}}
{{#>markup/a href=link.url}}{{or name "<unnamed>"}}{{/markup/a~}}
{{else~}}
{{! Symbol without URL: plain text ~}}
{{name~}}
{{or name "<unnamed>"~}}
{{/if~}}
{{#if (contains (arr "explicit" "partial") template.kind)~}}
{{! Explicit or partial template: render the template arguments ~}}
Expand Down

0 comments on commit 9ddac83

Please sign in to comment.