Skip to content

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