Awesome Nav Plugin
Automatic navigation generation from folder structure.
Core Attributes
Plugin Name
awesome-nav
Configuration
How It Works
Awesome Nav generates navigation automatically based on your file structure:
Text Only
docs/
├── index.md
├── getting-started/
│ ├── index.md
│ ├── installation.md
│ └── quickstart.md
└── advanced/
├── configuration.md
└── deployment.md
Becomes:
- Home
- Getting Started
- Installation
- Quickstart
- Advanced
- Configuration
- Deployment
Customization
Using .pages Files
Create .pages files to customize navigation:
YAML
# docs/getting-started/.pages
title: Quick Start Guide
nav:
- Overview: index.md
- installation.md
- quickstart.md
- ...
Ordering
Numeric Prefixes:
Custom Order:
Hiding Files
Hide files from navigation:
Options Reference
strict
Fail build on errors: true or false
show_nav_section_titles
Show section titles in navigation: true or false
collapse_single_pages
Collapse sections with one page: true or false
Advanced Features
Section Index
Combined with section-index plugin:
Dynamic Titles
Automatically extracts titles from:
1. H1 heading in markdown file
2. Filename (converted to title case)
3. Custom title in .pages
Rest Syntax
Use ... to include all remaining files:
Best Practices
- Use meaningful file and folder names
- Create
index.mdfor sections - Use
.pagesfor custom ordering - Keep structure shallow when possible
- Test navigation on mobile