hide notes if none are found
This commit is contained in:
parent
fc1a9a6026
commit
ca0acb6107
|
@ -1,10 +1,8 @@
|
||||||
|
{%- if doc.howToUse %}
|
||||||
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
|
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
|
||||||
div(flex="20" flex-xs="100")
|
div(flex="20" flex-xs="100")
|
||||||
h2(class="h2-api-docs") How to use
|
h2(class="h2-api-docs") How to use
|
||||||
div(flex="80" flex-xs="100")
|
div(flex="80" flex-xs="100")
|
||||||
:marked
|
:marked
|
||||||
{%- if doc.howToUse %}
|
|
||||||
{$ doc.howToUse | indentForMarkdown(6) $}
|
{$ doc.howToUse | indentForMarkdown(6) $}
|
||||||
{% else %}
|
{% endif %}
|
||||||
*Not yet documented*
|
|
||||||
{% endif %}
|
|
|
@ -1,10 +1,8 @@
|
||||||
|
{%- if doc.whatItDoes %}
|
||||||
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
|
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
|
||||||
div(flex="20" flex-xs="100")
|
div(flex="20" flex-xs="100")
|
||||||
h2(class="h2-api-docs") What it does
|
h2(class="h2-api-docs") What it does
|
||||||
div(flex="80" flex-xs="100")
|
div(flex="80" flex-xs="100")
|
||||||
:marked
|
:marked
|
||||||
{%- if doc.whatItDoes %}
|
|
||||||
{$ doc.whatItDoes | indentForMarkdown(6) $}
|
{$ doc.whatItDoes | indentForMarkdown(6) $}
|
||||||
{% else %}
|
{% endif %}
|
||||||
*Not yet documented*
|
|
||||||
{% endif %}
|
|
Loading…
Reference in New Issue