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

Add a config option to remove the TOC (Table of Contents) #49

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

evanplaice
Copy link

@evanplaice evanplaice commented Sep 14, 2019

Adding toc: 'none' to the config removes the TOC from the output.

This is useful for packages where the modules aren't all concatenated into one large file (ex ES Modules) and it's desirable to have the TOC centrally located somewhere else (ex the main README).

The implementation of this could be cleaner (ie rem noCategories and make TOC config an enum) but my focus was to modify the existing code as little as possible since this package doesn't appear to be actively maintained.

Adding toc: 'none' to the config removes the TOC from the output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants