Automatic Table of Contents (Minimap)

Verdocs includes an automatic "Minimap" on the right side of every page, providing a dynamic table of contents that reflects the structure of your current documentation.

How it Works

The Verdocs generator automatically scans each Markdown file for headings.

  1. Extraction: Verdocs extracts all headings from H2 to H6 levels.
  2. Slugification: Each heading is converted into a URL-friendly slug (e.g., "Installation Guide" becomes installation-guide).
  3. Rendering: These headings are then displayed as links in the Minimap on the right.
  4. Indentation: The Minimap visually indents each link according to its heading level, providing a clear hierarchy of the page's content.

Usage

The Minimap is entirely automated. You don't need to manually create tables of contents in your Markdown files.

Optimization Tips

To make the most of the Minimap:

Scroll Performance
Verdocs' Minimap is designed to be lightweight and fast, providing a smooth navigation experience even for very long documentation pages.

On this page
How it Works Usage Optimization Tips