Skip to content

Commit

Permalink
feat(templates): common signature entry partial
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Nov 28, 2024
1 parent 75fdb49 commit 3f0ddbd
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 26 deletions.
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
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
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</code>
</div>
<pre class="source-code cpp">
{{>signature/variable symbol=symbol}};
{{> signature }};
</pre>
</div>

Expand Down

0 comments on commit 3f0ddbd

Please sign in to comment.