-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ae56c0
commit 57238d7
Showing
31 changed files
with
167 additions
and
172 deletions.
There are no files selected for viewing
23 changes: 12 additions & 11 deletions
23
share/mrdocs/addons/generator/asciidoc/layouts/overload-set.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
{{#if relfileprefix}}:relfileprefix: {{relfileprefix}}{{/if}} | ||
{{#with symbol}} | ||
[#{{#if (is_multipage)}}{{id}}{{else}}{{ref}}{{/if}}] | ||
[#{{#if (is_multipage)}}{{symbol.id}}{{else}}{{symbol.ref}}{{/if}}] | ||
|
||
== {{#if name}}Overload set {{name}}{{else}}Unnamed overload set{{/if}} | ||
== {{#if symbol.name}}Overload set {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}}{{else}}Unnamed overload set{{/if}} | ||
|
||
[,cols=2] | ||
|=== | ||
|Name |Description | ||
{{#each members}} | ||
|xref:{{ref}}[`pass:v[{{name}}]`] |{{doc.brief}} | ||
{{/each}} | ||
|=== | ||
{{#each symbol.members as | member |}} | ||
|
||
{{/with}} | ||
{{member.doc.brief}} | ||
|
||
[source,cpp,subs="verbatim,macros,-callouts"] | ||
---- | ||
{{> (concat 'signature' '/' (lookup member 'kind')) symbol=member}}; | ||
xref:{{ref}}[pass:c,q,m[*_» more..._*]] | ||
---- | ||
{{/each}} |
7 changes: 3 additions & 4 deletions
7
share/mrdocs/addons/generator/asciidoc/layouts/single-symbol.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{{#if relfileprefix}}:relfileprefix: {{relfileprefix}}{{/if}} | ||
{{#with symbol}} | ||
[#{{#if (is_multipage)}}{{id}}{{else}}{{ref}}{{/if}}] | ||
{{> (lookup . 'kind') symbol=.}} | ||
{{/with}} | ||
[#{{#if (is_multipage)}}{{symbol.id}}{{else}}{{symbol.ref}}{{/if}}] | ||
|
||
{{> (concat 'symbols' '/' (lookup symbol 'kind')) symbol=symbol}} |
8 changes: 8 additions & 0 deletions
8
share/mrdocs/addons/generator/asciidoc/partials/declarator-id.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{{#if (and (eq kind "function") (eq class "conversion"))~}} | ||
operator {{>declarator return~}} | ||
{{else~}} | ||
{{#if link.ref}}xref:{{link.ref}}[{{name}}]{{else}}{{name}}{{/if~}} | ||
{{#if (or (eq template.kind "explicit") (eq template.kind "partial"))~}} | ||
{{>template-args args=template.args~}} | ||
{{/if~}} | ||
{{/if}} |
44 changes: 0 additions & 44 deletions
44
share/mrdocs/addons/generator/asciidoc/partials/function-decl.adoc.hbs
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
share/mrdocs/addons/generator/asciidoc/partials/nested-name-specifier.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{{#if (and symbol (or includeNamespace (ne symbol.kind "namespace")))~}} | ||
{{#if symbol.parent~}} | ||
{{>nested-name-specifier symbol=symbol.parent~}} | ||
{{else~}} | ||
{{/if~}} | ||
{{!-- {{#if symbol.name}}xref:{{symbol.ref}}[{{symbol.name}}]::{{/if~}} --}} | ||
{{#if symbol.name}}{{symbol.name}}::{{/if~}} | ||
{{/if}} |
27 changes: 0 additions & 27 deletions
27
share/mrdocs/addons/generator/asciidoc/partials/record-decl.adoc.hbs
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
share/mrdocs/addons/generator/asciidoc/partials/signature/enum.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
enum {{>declarator-id symbol~}} | ||
{{#if symbol.type}} : {{>declarator symbol.type}}{{/if}} |
1 change: 1 addition & 0 deletions
1
share/mrdocs/addons/generator/asciidoc/partials/signature/enumerator.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{symbol.name}}{{#if symbol.initializer}} = {{symbol.initializer}}{{~/if}} |
5 changes: 5 additions & 0 deletions
5
share/mrdocs/addons/generator/asciidoc/partials/signature/field.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{#if symbol.isMutable}}mutable | ||
{{/if~}} | ||
{{>declarator-before symbol.type}} {{>declarator-id symbol~}} | ||
{{#if symbol.isBitfield}} : {{symbol.bitfieldWidth}}{{/if~}} | ||
{{>declarator-after symbol.type}} |
5 changes: 5 additions & 0 deletions
5
share/mrdocs/addons/generator/asciidoc/partials/signature/friend.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{#if symbol.type~}} | ||
friend {{>declarator symbol.type~}} | ||
{{else if symbol.symbol~}} | ||
{{> (concat 'signature' '/' (lookup . 'symbol.symbol.kind')) symbol=symbol.symbol isFriend=true~}} | ||
{{/if}} |
28 changes: 28 additions & 0 deletions
28
share/mrdocs/addons/generator/asciidoc/partials/signature/function.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{{#if symbol.template}}{{>template-head symbol.template}} | ||
{{/if~}} | ||
{{#if isFriend}}friend | ||
{{/if~}} | ||
{{#if symbol.constexprKind}}{{symbol.constexprKind}} | ||
{{/if~}} | ||
{{#if symbol.storageClass}}{{symbol.storageClass}} | ||
{{/if~}} | ||
{{#if symbol.isVirtual}}virtual | ||
{{/if~}} | ||
{{#if (eq symbol.class "normal")}}{{>declarator-before symbol.return}} | ||
{{/if~}} | ||
{{>declarator-id symbol link=symbol.template.primary}} | ||
({{#each symbol.params}}{{#unless (and @first @last)}} | ||
{{/unless}}{{>declarator type decl-name=name~}} | ||
{{#if default}} = {{default}}{{/if~}} | ||
{{#unless @last}},{{/unless~}} | ||
{{/each~}}) | ||
{{~#if symbol.isConst}} const{{/if~}} | ||
{{#if symbol.isVolatile}} volatile{{/if~}} | ||
{{#if symbol.refQualifier}} {{symbol.refQualifier}}{{/if~}} | ||
{{#if (eq symbol.exceptionSpec "noexcept")}} noexcept{{/if~}} | ||
{{#if (eq symbol.class "normal")}}{{>declarator-after symbol.return}}{{/if~}} | ||
{{#if symbol.hasOverrideAttr}} override{{/if~}} | ||
{{#if symbol.isFinal}} final{{/if~}} | ||
{{#if symbol.isPure}} = 0{{/if~}} | ||
{{#if symbol.isDeleted}} = delete{{/if~}} | ||
{{#if symbol.isDefaulted}} = default{{/if}} |
1 change: 1 addition & 0 deletions
1
share/mrdocs/addons/generator/asciidoc/partials/signature/namespace.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{!-- namespace --}} |
15 changes: 15 additions & 0 deletions
15
share/mrdocs/addons/generator/asciidoc/partials/signature/record.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{{#if symbol.template}}{{>template-head symbol.template}} | ||
{{/if~}} | ||
{{#if isFriend}}friend {{/if}}{{symbol.tag}} {{>declarator-id symbol link=symbol.template.primary~}} | ||
{{#unless symbol.bases~}} | ||
{{else if isFriend~}} | ||
{{else}} | ||
|
||
{{#each symbol.bases~}} | ||
{{#if @first}} | ||
:{{else}} | ||
,{{/if~}} | ||
{{#unless (eq access ../symbol.defaultAccess)}} {{access}}{{/unless~}} | ||
{{#if isVirtual}} virtual{{/if}} {{>declarator type~}} | ||
{{/each~}} | ||
{{/unless}} |
1 change: 1 addition & 0 deletions
1
share/mrdocs/addons/generator/asciidoc/partials/signature/specialization.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{!-- specialization --}} |
7 changes: 7 additions & 0 deletions
7
share/mrdocs/addons/generator/asciidoc/partials/signature/typedef.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{#if symbol.isUsing~}} | ||
{{#if symbol.template}}{{>template-head symbol.template}} | ||
{{/if~}} | ||
using {{symbol.name}} = {{>declarator symbol.type}} | ||
{{~else~}} | ||
typedef {{>declarator symbol.type decl-name=symbol.name}} | ||
{{~/if}} |
1 change: 1 addition & 0 deletions
1
share/mrdocs/addons/generator/asciidoc/partials/signature/undefined.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{!-- undefined --}} |
10 changes: 10 additions & 0 deletions
10
share/mrdocs/addons/generator/asciidoc/partials/signature/variable.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{#if symbol.template}}{{>template-head symbol.template}} | ||
{{/if~}} | ||
{{#if symbol.constexprKind}}{{symbol.constexprKind}} | ||
{{/if~}} | ||
{{#if symbol.storageClass}}{{symbol.storageClass}} | ||
{{/if~}} | ||
{{#if symbol.isThreadLocal}}thread_local | ||
{{/if~}} | ||
{{>declarator-before symbol.type}} {{>declarator-id symbol link=symbol.template.primary~}} | ||
{{>declarator-after symbol.type}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
...rator/asciidoc/partials/function.adoc.hbs → ...ciidoc/partials/symbols/function.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ator/asciidoc/partials/namespace.adoc.hbs → ...iidoc/partials/symbols/namespace.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
...nerator/asciidoc/partials/record.adoc.hbs → ...asciidoc/partials/symbols/record.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
20 changes: 20 additions & 0 deletions
20
share/mrdocs/addons/generator/asciidoc/partials/symbols/typedef.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{{!-- typedef --}} | ||
= {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}} | ||
|
||
{{symbol.doc.brief}} | ||
|
||
== Synopsis | ||
|
||
{{>source dcl=(primary_location symbol)}} | ||
|
||
[source,cpp,subs="verbatim,macros,-callouts"] | ||
---- | ||
{{>signature/typedef symbol=symbol}}; | ||
---- | ||
{{#if symbol.doc.description}} | ||
== Description | ||
{{symbol.doc.description}} | ||
{{/if}} |
File renamed without changes.
20 changes: 20 additions & 0 deletions
20
share/mrdocs/addons/generator/asciidoc/partials/symbols/variable.adoc.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{{!-- variable --}} | ||
= {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}} | ||
|
||
{{symbol.doc.brief}} | ||
|
||
== Synopsis | ||
|
||
{{>source dcl=(primary_location symbol)}} | ||
|
||
[source,cpp,subs="verbatim,macros,-callouts"] | ||
---- | ||
{{>signature/variable symbol=symbol}}; | ||
---- | ||
{{#if symbol.doc.description}} | ||
== Description | ||
{{symbol.doc.description}} | ||
{{/if}} |
Oops, something went wrong.