Section Index Plugin
Create index pages for documentation sections.
Core Attributes
Plugin Name
section-index
Configuration
What It Does
Section Index allows index.md files to represent entire sections in navigation, creating cleaner structure.
Without section-index:
With section-index:
Usage
Basic Structure
The index.md becomes both:
1. The section landing page
2. The section item in navigation
Nested Sections
Text Only
docs/
└── guides/
├── index.md
├── beginner/
│ ├── index.md
│ └── basics.md
└── advanced/
├── index.md
└── expert.md
Each index.md serves as section overview.
Index Page Content
Create welcoming overview pages:
Markdown
# User Guide
Welcome to the comprehensive user guide.
## What You'll Learn
- [Installation](install.md) - Get up and running
- [Configuration](config.md) - Customize your setup
- [Advanced Topics](advanced.md) - Deep dive
## Prerequisites
Before starting, ensure you have:
- Python 3.8 or higher
- Basic command line knowledge
Benefits
Cleaner Navigation
Reduces navigation depth and redundancy
Better UX
Clickable section headers provide context
SEO Friendly
Landing pages for each topic area
Organization
Natural information hierarchy
Combined with Awesome Nav
These plugins work perfectly together:
Awesome Nav generates structure, Section Index makes it clickable.
Best Practices
- Every folder should have
index.md - Index pages provide section overview
- Link to sub-pages from index
- Use descriptive section names
- Keep hierarchy shallow