MkDocs plugin to add hierarchical numbering to nav and page headings
Project description
mkdocs-nav-numbering-plugin
MkDocs plugin that adds hierarchical numbering to navigation items and page headings.
Features
- Number nav sections, pages, and links (optional)
- Number page headings based on nav position
- Configurable depth limits for nav and headings
- Configurable separator
- Exclude specific pages
Installation
pip install mkdocs-nav-numbering-plugin
Usage
plugins:
- nav-numbering:
nav_depth: 4
heading_depth: 5
number_h1: true
number_nav: true
number_headings: true
separator: "."
exclude:
- index.md
Options
enabled(bool, default: true)nav_depth(int, default: 0) — 0 means unlimitedheading_depth(int, default: 0) — 0 means unlimitednumber_nav(bool, default: true)number_headings(bool, default: true)number_h1(bool, default: true)separator(str, default: ".")exclude(list, default: [])
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters