Skip to content

Avoid empty sections #32

@BernieWhite

Description

@BernieWhite

Sections should only be generated when there is content within them by default. An option should still exist for force generation of sections regardless.

For example, an empty section in the example below should not be generated.

document Sample {
   Section 'Empty section' {

   }
}

Example use of -Force to force the generation of an empty section.

document Sample {
   Section 'Empty section' -Force {

   }
}

Metadata

Metadata

Assignees

Labels

enhancementA request to change or add to current behaviour

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions