MkDocs Awesome Pages Plugin (Pre-v3)

2.10.1 · deprecated · verified Sun Apr 12

This is an MkDocs plugin that simplifies configuring page titles and their order using `.pages` files. This package represents versions prior to 3.0.0. As of version 3.0.0, the plugin has been completely rewritten, renamed to `mkdocs-awesome-nav`, and is distributed under a new PyPI package. This specific package (`mkdocs-awesome-pages-plugin`) is no longer actively developed and is considered deprecated in favor of `mkdocs-awesome-nav`.

Warnings

Install

Imports

Quickstart

To use the plugin, add `awesome-pages` to the `plugins` section of your `mkdocs.yml` file. Then, define page titles, order, and hierarchy within your documentation directories using `.pages` files, where `nav` specifies the order and `title` sets the section's name in the navigation.

# mkdocs.yml
site_name: My Awesome Docs

plugins:
  - awesome-pages

# docs/index.md
# My Home Page

# docs/section/.pages
# title: Section Title for Menu
# nav:
#   - page-one.md
#   - page-two.md
#   - sub-section/

# docs/section/page-one.md
# Content for Page One

view raw JSON →