Skip to content

Commit

Permalink
feat: annotate constructors and destructors in adoc member lists
Browse files Browse the repository at this point in the history
  • Loading branch information
sdkrystian committed May 30, 2024
1 parent 5fee793 commit 590b317
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
¦xref:{{ref}}[`{{>declarator-id . nolink=true}}`] ¦
¦xref:{{ref}}[`{{>declarator-id . nolink=true}}`] {{>special-name-suffix .}} ¦
{{#if (ne kind "overload")~}}
{{~doc.brief}}
{{else~}}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{{#if (eq kind "overload")}}{{>special-name-suffix (front members)~}}
{{else if (eq kind "function")~}}
{{#if (eq class "constructor")}}[.small]#[constructor]#
{{~else if (eq class "destructor")~}}[.small]#[destructor]#
{{~/if~}}
{{/if}}

0 comments on commit 590b317

Please sign in to comment.