Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Section directive won't print comment #32

Open
CroniD opened this issue Jul 6, 2017 · 0 comments
Open

Section directive won't print comment #32

CroniD opened this issue Jul 6, 2017 · 0 comments

Comments

@CroniD
Copy link

CroniD commented Jul 6, 2017

Hi there,

I tried the following case with the basic templates and the latest leafdoc (1.4.1).

test.leafdoc

@class MyClass

A comment, lonely but it's happy.

@section MySection

A comment in MySection, lonely but it's happy.

produces

<h2 id="myclass">MyClass</h2>
A comment, lonely but it's happy.

What is wrong: The section is missing (and the comment of the section of course). A section should be printed even if it's empty.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant