Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion share/mrdocs/addons/generator/adoc/layouts/index.adoc.hbs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{! The section with a symbol in single page output or the symbol page in multi page output }}
{{> symbol symbol=symbol}}
{{> symbol }}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[source,cpp,subs="verbatim,macros,-callouts"]
----
{{>signature/alias symbol=symbol}};
{{> signature }};
----

{{#if symbol.doc.description}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[source,cpp,subs="verbatim,macros,-callouts"]
----
{{>signature/concept symbol=symbol}};
{{> signature }};
----

{{#if symbol.doc.description}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[source,cpp,subs="verbatim,macros,-callouts"]
----
{{>signature/enum symbol=symbol}};
{{> signature }};
----

{{#if symbol.members}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[source,cpp,subs="verbatim,macros,-callouts"]
----
{{>signature/enumerator symbol=symbol}}
{{> signature }}

----

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[source,cpp,subs="verbatim,macros,-callouts"]
----
{{>signature/field symbol=symbol}};
{{> signature }};
----

{{#if symbol.doc.description}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[source,cpp,subs="verbatim,macros,-callouts"]
----
{{>signature/friend symbol=symbol}};
{{> signature }};
----

{{#if symbol.doc.description}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[source,cpp,subs="verbatim,macros,-callouts"]
----
{{>signature/function symbol=symbol}};
{{> signature }};
----

{{#if symbol.doc.description}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[source,cpp,subs="verbatim,macros,-callouts"]
----
{{>signature/guide symbol=symbol}};
{{> signature }};
----

{{#if symbol.doc.description}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

[source,cpp,subs="verbatim,macros,-callouts"]
----
{{> (concat 'signature' '/' (lookup member 'kind')) symbol=member link=member}};
{{> signature symbol=member link=member}};
----
{{/each}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[source,cpp,subs="verbatim,macros,-callouts"]
----
{{>signature/record symbol=symbol}};
{{> signature }};
----

{{#with symbol.interface}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[source,cpp,subs="verbatim,macros,-callouts"]
----
{{>signature/typedef symbol=symbol}};
{{> signature }};
----

{{#if symbol.doc.description}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[source,cpp,subs="verbatim,macros,-callouts"]
----
{{>signature/using symbol=symbol}};
{{> signature }};
----

{{#if symbol.doc.description}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[source,cpp,subs="verbatim,macros,-callouts"]
----
{{>signature/variable symbol=symbol}};
{{> signature }};
----

{{#if symbol.doc.description}}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{> (concat 'signature' '/' (lookup symbol 'kind')) }}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
using {{#if (contains (arr "typename" "enum") symbol.class)}} {{symbol.class}}{{/if}}{{#if symbol.qualifier}}{{>types/name-info symbol.qualifier}}::{{/if}}{{symbol.name}}
2 changes: 1 addition & 1 deletion share/mrdocs/addons/generator/common/partials/symbol.hbs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{> (concat 'symbols' '/' (lookup symbol 'kind')) symbol=symbol }}
{{> (concat 'symbols' '/' (lookup symbol 'kind')) }}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{! Render all template arguments }}
<{{~#each args~}}
{{ str '<' }}{{~#each args~}}
{{~>types/template-arg nolink=../nolink~}}
{{~#if (not @last)}}, {{/if~}}
{{~/each~}}>
{{~/each~}}{{ str '>' }}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{! Renders the template head for a template declaration. }}
template<{{#each params}}{{#unless (and @first @last)}}
template{{ str '<' }}{{#each params}}{{#unless (and @first @last)}}
{{/unless}}{{>types/template-param~}}
{{#unless @last}},{{/unless~}}
{{/each}}>{{#if requires}} requires {{requires}}{{/if}}
{{/each}}{{ str '>' }}{{#if requires}} requires {{requires}}{{/if}}
2 changes: 1 addition & 1 deletion share/mrdocs/addons/generator/html/layouts/index.html.hbs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{! The section with a symbol in single page output or the symbol page in multi page output }}
{{> symbol symbol=symbol}}
{{> symbol }}
3 changes: 3 additions & 0 deletions share/mrdocs/addons/generator/html/layouts/wrapper.html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
</head>
<body>
<div>
{{#unless @root.config.multipage }}
<h1>Reference</h1>
{{/unless}}
{{! Content generated with index.hbs }}
{{{contents}}}
</div>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</code>
</div>
<pre class="source-code cpp">
{{>signature/alias symbol=symbol}};
{{> signature }};
</pre>
</div>
{{#if symbol.doc.description}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</code>
</div>
<pre class="source-code cpp">
{{>signature/concept symbol=symbol}};
{{> signature }};
</pre>
</div>
{{#if symbol.doc.description}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</code>
</div>
<pre class="source-code cpp">
{{>signature/enum symbol=symbol}};
{{> signature }};
</pre>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</code>
</div>
<pre class="source-code cpp">
{{>signature/enumerator symbol=symbol}}
{{> signature }}
</pre>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</code>
</div>
<pre class="source-code cpp">
{{>signature/field symbol=symbol}};
{{> signature }};
</pre>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</code>
</div>
<pre class="source-code cpp">
{{>signature/friend symbol=symbol}};
{{> signature }};
</pre>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</code>
</div>
<pre class="source-code cpp">
{{>signature/function symbol=symbol}};
{{> signature }};
</pre>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</code>
</div>
<pre class="source-code cpp">
{{>signature/guide symbol=symbol}};
{{> signature }};
</pre>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<p>{{{member.doc.brief}}}</p>

<pre><code class="language-cpp">{{> (concat 'signature' '/' (lookup member 'kind')) symbol=member}};</code></pre>
<pre><code class="language-cpp">{{> signature symbol=member }};</code></pre>
<a href="{{{relativize member.url}}}"><em>» more...</em></a>

{{/each}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</code>
</div>
<pre class="source-code cpp">
{{>signature/record symbol=symbol}};
{{> signature }};
</pre>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</code>
</div>
<pre class="source-code cpp">
{{>signature/typedef symbol=symbol}};
{{> signature }};
</pre>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</code>
</div>
<pre class="source-code cpp">
{{>signature/using symbol=symbol}};
{{> signature }};
</pre>
</div>

Expand Down
Loading
Loading