You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is wrong: Name of the Miniclass and Comment are missing.
test03.leafdoc
@miniclass MyMiniClass (MyParentClass)
@section
A comment, lonely but its happy.
@option foo : Boolean = true
produces
<h2id="myparentclass">MyParentClass</h2><h2id="myminiclass"></h2><h3id="myminiclass-option">MyMiniClass</h3><sectiondata-type="[object Object]">
A comment, lonely but its happy.
<table><thead><tr><th>Option</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><trid="myminiclass-foo"><td><code><b>foo</b></code></td><td><code>Boolean</code></td><td><code>true</code></td><td></td></tr></tbody></table></section>
What is wrong: Two headings for the Miniclass (h2 is empty, h3 is not and has the wrong string). Comment is in the wrong place (should be outside of the "section" element).
test04.leafdoc
@miniclass MyMiniClass (MyParentClass)
A comment, lonely but its happy.
@option foo : Boolean = true
produces
<h2id="myparentclass">MyParentClass</h2><h2id="myminiclass"></h2>
A comment, lonely but its happy.
<h3id="myminiclass-option">MyMiniClass</h3><sectiondata-type="[object Object]"><table><thead><tr><th>Option</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><trid="myminiclass-foo"><td><code><b>foo</b></code></td><td><code>Boolean</code></td><td><code>true</code></td><td></td></tr></tbody></table></section>
What is wrong: Two headings for the Miniclass (h2 is empty, h3 is not and has the wrong string).
Also, maybe the Miniclass directive should have it's own template. And the miniclass feature is not documentated at all (README.md).
Best regards
The text was updated successfully, but these errors were encountered:
Hi there,
I tried the following cases with the basic templates and the latest leafdoc (1.4.1).
test01.leafdoc
produces
What is wrong: Name of the Miniclass is missing.
test02.leafdoc
produces
What is wrong: Name of the Miniclass and Comment are missing.
test03.leafdoc
produces
What is wrong: Two headings for the Miniclass (h2 is empty, h3 is not and has the wrong string). Comment is in the wrong place (should be outside of the "section" element).
test04.leafdoc
produces
What is wrong: Two headings for the Miniclass (h2 is empty, h3 is not and has the wrong string).
Also, maybe the Miniclass directive should have it's own template. And the miniclass feature is not documentated at all (README.md).
Best regards
The text was updated successfully, but these errors were encountered: