Skip to content

Commit

Permalink
fix: tranche partial requires no whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Nov 21, 2023
1 parent 7c1f0ea commit 7d689c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

{{#with symbol.interface}}
{{> tranche tranche=public label=""}}
{{> tranche tranche=protected label=" Protected"}}
{{> tranche tranche=private label=" Private"}}
{{> tranche tranche=protected label="Protected"}}
{{> tranche tranche=private label="Private"}}
{{/with}}

{{#if symbol.doc.description}}
Expand Down
18 changes: 9 additions & 9 deletions share/mrdocs/addons/generator/asciidoc/partials/tranche.adoc.hbs
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{{#if tranche.records}}
=={{label}} Types
== {{label}} Types
{{>info-list tranche.records}}
{{/if}}
{{#if tranche.types}}
{{#if label}}
=={{label}} Types
== {{label}} Types
{{else}}
== Types
== Types
{{/if}}
{{>info-list tranche.types}}
{{/if}}
{{#if tranche.functions}}
=={{label}} Member Functions
== {{label}} Member Functions
{{>info-list tranche.functions}}
{{/if}}
{{#if tranche.enums}}
=={{label}} Enums
== {{label}} Enums
{{>info-list tranche.enums}}
{{/if}}
{{#if tranche.fields}}
=={{label}} Data Members
== {{label}} Data Members
{{>info-list tranche.fields}}
{{/if}}
{{#if tranche.staticfunctions}}
=={{label}} Static Member Functions
== {{label}} Static Member Functions
{{>info-list tranche.staticfunctions}}
{{/if}}
{{#if tranche.staticdata}}
=={{label}} Static Data Members
== {{label}} Static Data Members
{{>info-list tranche.staticdata}}
{{/if}}
{{#if tranche.friends}}
=={{label}} Friends
== {{label}} Friends
{{>info-list tranche.friends}}
{{/if}}

0 comments on commit 7d689c9

Please sign in to comment.