Skip to content

Commit

Permalink
Revert "docs: qualified typedefs"
Browse files Browse the repository at this point in the history
This reverts commit 3ad5066.
  • Loading branch information
sdkrystian committed Dec 4, 2023
1 parent afc59d5 commit e88ce51
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
{{#if cv-qualifiers~}}
{{#if pointee-type}} {{cv-qualifiers}}{{else}}{{cv-qualifiers}} {{/if~}}
{{/if~}}
{{#if symbol}}
{{#unless nolink}}xref:{{symbol.ref}}[{{/unless~}}
{{#unless parent-type}}{{>qualified-path symbol=symbol.parent nolink=true}}{{/unless~}}
{{name~}}
{{#unless nolink}}]{{/unless~}}
{{#if (and symbol (not parent-type))}}{{>qualified-path symbol=symbol.parent nolink=nolink}}{{/if~}}
{{#if (and symbol (not nolink))~}}
xref:{{symbol.ref}}[{{name}}]
{{~else if name}}{{name~}}
{{/if~}}
{{#if (eq kind "decltype")}}decltype({{operand}}){{/if~}}
{{#if (eq kind "specialization")}}{{>template-args args=args nolink=nolink}}{{/if~}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{#unless (or (contains @root.symbol.namespace symbol) (eq @root.symbol symbol))~}}
{{#if symbol.parent~}}
{{#unless (or (contains @root.symbol.namespace symbol) (eq @root.symbol symbol))~}}
{{>qualified-path symbol=symbol.parent nolink=nolink~}}
{{/unless~}}
{{>qualified-path symbol=symbol.parent nolink=nolink~}}
{{else~}}
{{/if~}}
{{#if symbol.name}}{{#unless nolink}}xref:{{symbol.ref}}[{{symbol.name}}]{{else}}{{symbol.name}}{{/unless}}::{{/if~}}
{{#if symbol.name}}{{#if (not nolink)}}xref:{{symbol.ref}}[{{symbol.name}}]{{else}}{{symbol.name}}{{/if}}::{{/if~}}
{{/unless}}

0 comments on commit e88ce51

Please sign in to comment.