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

Don't add table of contents if empty #747

Closed
mojavelinux opened this issue Feb 9, 2017 · 0 comments
Closed

Don't add table of contents if empty #747

mojavelinux opened this issue Feb 9, 2017 · 0 comments
Assignees

Comments

@mojavelinux
Copy link
Member

If the table of contents is empty, don't add it to the document. There's no use case where an empty table of contents is useful. If there is, we can introduce some sort of force attribute.

@mojavelinux mojavelinux added this to the v1.5.0.alpha.15 milestone Feb 9, 2017
@mojavelinux mojavelinux self-assigned this Feb 9, 2017
mojavelinux added a commit to mojavelinux/asciidoctor-pdf that referenced this issue Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant