Skip to content

Section directive won't print comment #32

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions