Advanced Sidebar Management

Verdocs uses an opinionated folder-based sidebar management system. It's designed to automatically organize your documentation based on your directory structure while providing powerful defaults for navigation.

The sidebar is automatically generated from the directories and Markdown files within each version folder. Verdocs follows specific rules to ensure the most important pages are prioritized.

Priority Sorting

Verdocs uses a specific sorting logic for the sidebar items:

  1. Home Page First: Any folder or Markdown file named "home" (case-insensitive) is automatically moved to the top of the sidebar. This ensures your introductory content is always accessible first.
  2. Alphabetical Order: All other folders and files are sorted alphabetically.

Hierarchy and Nesting

The sidebar reflects your folder structure exactly:

Folder Index Rules

For every directory you create in a version (e.g., v1.0.0/api/), Verdocs requires a corresponding Markdown file with the same name (e.g., v1.0.0/api/api.md). This file acts as the primary landing page for that sidebar group. Refer to Project Requirements for more information.

Automatic Title Conversion

Verdocs automatically converts your folder and file names into human-readable titles in the sidebar.

Usage Tips

On this page
Sidebar Organization Priority Sorting Hierarchy and Nesting Folder Index Rules Automatic Title Conversion Usage Tips