Skip to content

ToC does not render in documents with only one H2

Description

In a document with structure:

# My title

...

## Subheading

...

the table of contents doesn't render on the right of the page, it stays on top of the document instead. Example: https://docs.gitlab.com/ee/user/operations_dashboard/index.html

Edited by Achilleas Pipinellis