Skip to content

Commit

Permalink
chore: show full nested-name-specifiers of declarations in titles
Browse files Browse the repository at this point in the history
  • Loading branch information
sdkrystian committed Jun 5, 2024
1 parent 161b6f4 commit 131419b
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{#if relfileprefix}}:relfileprefix: {{relfileprefix}}{{/if}}
[#{{#if (is_multipage)}}{{symbol.id}}{{else}}{{symbol.ref}}{{/if}}]

= {{#if symbol.name}}Overload set {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}}{{else}}Unnamed overload set{{/if}}
= {{#if symbol.name}}Overload set {{>nested-name-specifier symbol=symbol.parent includeNamespace=true}}{{symbol.name}}{{else}}Unnamed overload set{{/if}}

== Members

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
{{else~}}
{{/if~}}
{{!-- {{#if symbol.name}}xref:{{symbol.ref}}[{{symbol.name}}]::{{/if~}} --}}
{{#if symbol.name}}{{symbol.name}}::{{/if~}}
{{!-- {{#if symbol.name}}{{symbol.name}}::{{/if~}} --}}
{{#if symbol.name}}{{>declarator-id symbol link=symbol}}::{{/if~}}
{{/if}}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- alias --}}
= {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}}
= {{>nested-name-specifier symbol=symbol.parent includeNamespace=true}}{{symbol.name}}

{{symbol.doc.brief}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- enum --}}
= {{#if symbol.name}}Enum {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}}{{else}}Unnamed enum{{/if}}
= {{#if symbol.name}}Enum {{>nested-name-specifier symbol=symbol.parent includeNamespace=true}}{{symbol.name}}{{else}}Unnamed enum{{/if}}

{{symbol.doc.brief}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- enumerator --}}
= Enumerator {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}}
= Enumerator {{>nested-name-specifier symbol=symbol.parent includeNamespace=true}}{{symbol.name}}

{{symbol.doc.brief}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- field --}}
= {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}}
= {{>nested-name-specifier symbol=symbol.parent includeNamespace=true}}{{symbol.name}}

{{symbol.doc.brief}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- friend --}}
= Friend {{#if symbol.symbol}}{{symbol.symbol.name}}{{else}}{{symbol.type.name}}{{/if}}
= Friend {{#if symbol.symbol}}{{>nested-name-specifier symbol=symbol.symbol.parent includeNamespace=true}}{{symbol.symbol.name}}{{else}}{{symbol.type.name}}{{/if}}

{{symbol.doc.brief}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- function --}}
= Function {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}}
= Function {{>nested-name-specifier symbol=symbol.parent includeNamespace=true}}{{symbol.name}}

{{symbol.doc.brief}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- guides --}}
= Deduction guide {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}}
= Deduction guide {{>nested-name-specifier symbol=symbol.parent includeNamespace=true}}{{symbol.name}}

{{symbol.doc.brief}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- namespace --}}
= {{#if symbol.name}}Namespace {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}}{{else if symbol.parent}}Unnamed namespace{{else}}Global namespace{{/if}}
= {{#if symbol.name}}Namespace {{>nested-name-specifier symbol=symbol.parent includeNamespace=true}}{{symbol.name}}{{else if symbol.parent}}Unnamed namespace{{else}}Global namespace{{/if}}

{{> tranche tranche=symbol.interface label="" is-namespace=true}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- record --}}
= {{#if symbol.name}}Class {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}}{{else}}Unnamed class{{/if}}
= {{#if symbol.name}}Class {{>nested-name-specifier symbol=symbol.parent includeNamespace=true}}{{symbol.name}}{{else}}Unnamed class{{/if}}

{{symbol.doc.brief}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- typedef --}}
= {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}}
= {{>nested-name-specifier symbol=symbol.parent includeNamespace=true}}{{symbol.name}}

{{symbol.doc.brief}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!-- variable --}}
= {{>nested-name-specifier symbol=symbol.parent}}{{symbol.name}}
= {{>nested-name-specifier symbol=symbol.parent includeNamespace=true}}{{symbol.name}}

{{symbol.doc.brief}}

Expand Down

0 comments on commit 131419b

Please sign in to comment.