MkDocs Awesome Pages Plugin (Pre-v3)
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
- breaking Breaking Change: Plugin Renamed and Rewritten in v3.0.0. Version 3.0.0 of this plugin was a complete rewrite, renamed to `mkdocs-awesome-nav`, and released under a new PyPI package. The new version introduces a different approach to navigation generation, leading to breaking changes in configuration and behavior.
- deprecated This package (`mkdocs-awesome-pages-plugin`) is deprecated. Development has moved to the `mkdocs-awesome-nav` package.
- gotcha Incorrect Plugin Name in `mkdocs.yml`. A common mistake is to specify the full PyPI package name (`mkdocs-awesome-pages-plugin`) in the `plugins` section of `mkdocs.yml`.
Install
-
pip install mkdocs-awesome-pages-plugin -
pip install mkdocs-awesome-nav
Imports
- awesome-pages
plugins: - awesome-pages
Quickstart
# 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