Skip to content

Commit e88ce51

Browse files
committed
Revert "docs: qualified typedefs"
This reverts commit 3ad5066.
1 parent afc59d5 commit e88ce51

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

share/mrdocs/addons/generator/asciidoc/partials/declarator-before.adoc.hbs

+4-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@
1212
{{#if cv-qualifiers~}}
1313
{{#if pointee-type}} {{cv-qualifiers}}{{else}}{{cv-qualifiers}} {{/if~}}
1414
{{/if~}}
15-
{{#if symbol}}
16-
{{#unless nolink}}xref:{{symbol.ref}}[{{/unless~}}
17-
{{#unless parent-type}}{{>qualified-path symbol=symbol.parent nolink=true}}{{/unless~}}
18-
{{name~}}
19-
{{#unless nolink}}]{{/unless~}}
15+
{{#if (and symbol (not parent-type))}}{{>qualified-path symbol=symbol.parent nolink=nolink}}{{/if~}}
16+
{{#if (and symbol (not nolink))~}}
17+
xref:{{symbol.ref}}[{{name}}]
18+
{{~else if name}}{{name~}}
2019
{{/if~}}
2120
{{#if (eq kind "decltype")}}decltype({{operand}}){{/if~}}
2221
{{#if (eq kind "specialization")}}{{>template-args args=args nolink=nolink}}{{/if~}}
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
{{#unless (or (contains @root.symbol.namespace symbol) (eq @root.symbol symbol))~}}
12
{{#if symbol.parent~}}
2-
{{#unless (or (contains @root.symbol.namespace symbol) (eq @root.symbol symbol))~}}
3-
{{>qualified-path symbol=symbol.parent nolink=nolink~}}
4-
{{/unless~}}
3+
{{>qualified-path symbol=symbol.parent nolink=nolink~}}
4+
{{else~}}
55
{{/if~}}
6-
{{#if symbol.name}}{{#unless nolink}}xref:{{symbol.ref}}[{{symbol.name}}]{{else}}{{symbol.name}}{{/unless}}::{{/if~}}
6+
{{#if symbol.name}}{{#if (not nolink)}}xref:{{symbol.ref}}[{{symbol.name}}]{{else}}{{symbol.name}}{{/if}}::{{/if~}}
7+
{{/unless}}

0 commit comments

Comments
 (0)