File tree 6 files changed +17
-5
lines changed
share/mrdox/addons/generator/asciidoc/partials
6 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 4
4
{{ ~else if (eq kind "tag")~}}
5
5
{{ #if cv-qualifiers }} {{ cv-qualifiers }} {{ /if ~}}
6
6
{{ #if parent-type ~}} {{> declarator parent-type decl-name =" " decl-name-targs =" " }} ::{{ /if ~}}
7
- {{ #if id }} xref: {{ id }} [{{ name ~}} ]{{ else }} {{ name ~}} {{ /if }}
7
+ {{ #if id }} {{> xref . }} [{{ name ~}} ]{{ else }} {{ name ~}} {{ /if }}
8
8
{{ ~else if (eq kind "specialization")~}}
9
9
{{ #if cv-qualifiers }} {{ cv-qualifiers }} {{ /if ~}}
10
10
{{ #if parent-type ~}} {{> declarator parent-type decl-name =" " decl-name-targs =" " }} ::{{ /if ~}}
11
- {{ #if id }} xref: {{ id }} [{{ name ~}} ]{{ else }} {{ name ~}} {{ /if }}
11
+ {{ #if id }} {{> xref . }} [{{ name ~}} ]{{ else }} {{ name ~}} {{ /if }}
12
12
{{~> template-args args =template-args ~}}
13
13
{{ ~else if (eq kind "lvalue-reference")~}}
14
14
{{~> declarator-before pointee-type ~}}
Original file line number Diff line number Diff line change 2
2
|===
3
3
|Name |Description
4
4
{{ #each . }}
5
- |xref: {{ id }} [`{{ name }} `] |{{ doc.brief }}
5
+ |{{> xref . }} [`pass:v[ {{ name }} ] `] |pass:v[ {{ doc.brief }} ]
6
6
{{ /each }}
7
7
|===
Original file line number Diff line number Diff line change 6
6
|===
7
7
|Name |Description
8
8
{{ #each symbol.members }}
9
- |xref: {{ id }} [`{{ name }} `] |{{ doc.brief }}
9
+ |{{> xref . }} [`pass:v[ {{ name }} ] `] |pass:v[ {{ doc.brief }} ]
10
10
{{ /each }}
11
11
|===
Original file line number Diff line number Diff line change 3
3
{{ else if (eq kind "non-type")~}}
4
4
{{~ value ~}}
5
5
{{ else if (eq kind "template")~}}
6
- {{ #if template }} xref: {{ template }} [{{ name ~}} ]{{ else ~}} {{ name ~}} {{ /if ~}}
6
+ {{ #if template }} {{> xref id = template }} [{{ name ~}} ]{{ else ~}} {{ name ~}} {{ /if ~}}
7
7
{{ /if ~}}
8
8
{{ ~#if is-pack }} ...{{ /if ~}}
Original file line number Diff line number Diff line change
1
+ {{ #if (is_multipage )~}}
2
+ xref:{{ id }} #
3
+ {{ ~else ~}}
4
+ xref:{{ id }}
5
+ {{ ~/if }}
Original file line number Diff line number Diff line change @@ -97,6 +97,13 @@ Handlebars.setlog();
97
97
return Error::success();
98
98
}).maybeThrow();
99
99
#endif
100
+ scope.script (fmt::format (
101
+ R"( Handlebars.registerHelper(
102
+ 'is_multipage', function()
103
+ {{
104
+ return {};
105
+ }});
106
+ )" , config->multiPage )).maybeThrow ();
100
107
101
108
scope.script (R"(
102
109
Handlebars.registerHelper(
You can’t perform that action at this time.
0 commit comments