From 131419b9c8c63c7ba0c149ec4720569bb7e5d2b9 Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Wed, 5 Jun 2024 10:43:17 -0400 Subject: [PATCH] chore: show full nested-name-specifiers of declarations in titles --- .../addons/generator/asciidoc/layouts/overload-set.adoc.hbs | 2 +- .../generator/asciidoc/partials/nested-name-specifier.adoc.hbs | 3 ++- .../addons/generator/asciidoc/partials/symbols/alias.adoc.hbs | 2 +- .../addons/generator/asciidoc/partials/symbols/enum.adoc.hbs | 2 +- .../generator/asciidoc/partials/symbols/enumerator.adoc.hbs | 2 +- .../addons/generator/asciidoc/partials/symbols/field.adoc.hbs | 2 +- .../addons/generator/asciidoc/partials/symbols/friend.adoc.hbs | 2 +- .../generator/asciidoc/partials/symbols/function.adoc.hbs | 2 +- .../addons/generator/asciidoc/partials/symbols/guide.adoc.hbs | 2 +- .../generator/asciidoc/partials/symbols/namespace.adoc.hbs | 2 +- .../addons/generator/asciidoc/partials/symbols/record.adoc.hbs | 2 +- .../generator/asciidoc/partials/symbols/typedef.adoc.hbs | 2 +- .../generator/asciidoc/partials/symbols/variable.adoc.hbs | 2 +- 13 files changed, 14 insertions(+), 13 deletions(-) diff --git a/share/mrdocs/addons/generator/asciidoc/layouts/overload-set.adoc.hbs b/share/mrdocs/addons/generator/asciidoc/layouts/overload-set.adoc.hbs index c9cc44231..cf6332afb 100644 --- a/share/mrdocs/addons/generator/asciidoc/layouts/overload-set.adoc.hbs +++ b/share/mrdocs/addons/generator/asciidoc/layouts/overload-set.adoc.hbs @@ -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 diff --git a/share/mrdocs/addons/generator/asciidoc/partials/nested-name-specifier.adoc.hbs b/share/mrdocs/addons/generator/asciidoc/partials/nested-name-specifier.adoc.hbs index 271e8111d..907388c77 100644 --- a/share/mrdocs/addons/generator/asciidoc/partials/nested-name-specifier.adoc.hbs +++ b/share/mrdocs/addons/generator/asciidoc/partials/nested-name-specifier.adoc.hbs @@ -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}} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/asciidoc/partials/symbols/alias.adoc.hbs b/share/mrdocs/addons/generator/asciidoc/partials/symbols/alias.adoc.hbs index 2366b7b1a..1ef46e80d 100644 --- a/share/mrdocs/addons/generator/asciidoc/partials/symbols/alias.adoc.hbs +++ b/share/mrdocs/addons/generator/asciidoc/partials/symbols/alias.adoc.hbs @@ -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}} diff --git a/share/mrdocs/addons/generator/asciidoc/partials/symbols/enum.adoc.hbs b/share/mrdocs/addons/generator/asciidoc/partials/symbols/enum.adoc.hbs index a5415cec8..42358571f 100644 --- a/share/mrdocs/addons/generator/asciidoc/partials/symbols/enum.adoc.hbs +++ b/share/mrdocs/addons/generator/asciidoc/partials/symbols/enum.adoc.hbs @@ -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}} diff --git a/share/mrdocs/addons/generator/asciidoc/partials/symbols/enumerator.adoc.hbs b/share/mrdocs/addons/generator/asciidoc/partials/symbols/enumerator.adoc.hbs index b6504af81..5f1420cbe 100644 --- a/share/mrdocs/addons/generator/asciidoc/partials/symbols/enumerator.adoc.hbs +++ b/share/mrdocs/addons/generator/asciidoc/partials/symbols/enumerator.adoc.hbs @@ -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}} diff --git a/share/mrdocs/addons/generator/asciidoc/partials/symbols/field.adoc.hbs b/share/mrdocs/addons/generator/asciidoc/partials/symbols/field.adoc.hbs index ce8d4938c..15dabc3cb 100644 --- a/share/mrdocs/addons/generator/asciidoc/partials/symbols/field.adoc.hbs +++ b/share/mrdocs/addons/generator/asciidoc/partials/symbols/field.adoc.hbs @@ -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}} diff --git a/share/mrdocs/addons/generator/asciidoc/partials/symbols/friend.adoc.hbs b/share/mrdocs/addons/generator/asciidoc/partials/symbols/friend.adoc.hbs index 0cae38597..5b012a76e 100644 --- a/share/mrdocs/addons/generator/asciidoc/partials/symbols/friend.adoc.hbs +++ b/share/mrdocs/addons/generator/asciidoc/partials/symbols/friend.adoc.hbs @@ -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}} diff --git a/share/mrdocs/addons/generator/asciidoc/partials/symbols/function.adoc.hbs b/share/mrdocs/addons/generator/asciidoc/partials/symbols/function.adoc.hbs index 012fe960b..21e0e9bb9 100644 --- a/share/mrdocs/addons/generator/asciidoc/partials/symbols/function.adoc.hbs +++ b/share/mrdocs/addons/generator/asciidoc/partials/symbols/function.adoc.hbs @@ -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}} diff --git a/share/mrdocs/addons/generator/asciidoc/partials/symbols/guide.adoc.hbs b/share/mrdocs/addons/generator/asciidoc/partials/symbols/guide.adoc.hbs index 82b5504b3..fc1d1eedc 100644 --- a/share/mrdocs/addons/generator/asciidoc/partials/symbols/guide.adoc.hbs +++ b/share/mrdocs/addons/generator/asciidoc/partials/symbols/guide.adoc.hbs @@ -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}} diff --git a/share/mrdocs/addons/generator/asciidoc/partials/symbols/namespace.adoc.hbs b/share/mrdocs/addons/generator/asciidoc/partials/symbols/namespace.adoc.hbs index 513851de5..42cc738cb 100644 --- a/share/mrdocs/addons/generator/asciidoc/partials/symbols/namespace.adoc.hbs +++ b/share/mrdocs/addons/generator/asciidoc/partials/symbols/namespace.adoc.hbs @@ -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}} diff --git a/share/mrdocs/addons/generator/asciidoc/partials/symbols/record.adoc.hbs b/share/mrdocs/addons/generator/asciidoc/partials/symbols/record.adoc.hbs index ce6c1608d..6f3328191 100644 --- a/share/mrdocs/addons/generator/asciidoc/partials/symbols/record.adoc.hbs +++ b/share/mrdocs/addons/generator/asciidoc/partials/symbols/record.adoc.hbs @@ -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}} diff --git a/share/mrdocs/addons/generator/asciidoc/partials/symbols/typedef.adoc.hbs b/share/mrdocs/addons/generator/asciidoc/partials/symbols/typedef.adoc.hbs index 65fc311c0..8ec6ff526 100644 --- a/share/mrdocs/addons/generator/asciidoc/partials/symbols/typedef.adoc.hbs +++ b/share/mrdocs/addons/generator/asciidoc/partials/symbols/typedef.adoc.hbs @@ -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}} diff --git a/share/mrdocs/addons/generator/asciidoc/partials/symbols/variable.adoc.hbs b/share/mrdocs/addons/generator/asciidoc/partials/symbols/variable.adoc.hbs index 2aa5ed635..33c3f7003 100644 --- a/share/mrdocs/addons/generator/asciidoc/partials/symbols/variable.adoc.hbs +++ b/share/mrdocs/addons/generator/asciidoc/partials/symbols/variable.adoc.hbs @@ -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}}