A plugin for customizing the navigation structure of your MkDocs site. It enhances the standard MkDocs navigation with features like glob patterns, dynamic sorting, and conditional visibility, allowing for more flexible site organization. The current version is 3.3.0, and it follows a feature-driven release cadence with occasional major updates.
pip install mkdocs-awesome-navNo compatibility data collected yet for this library.
To use the mkdocs-awesome-nav plugin, you must first install it and then enable it in your `mkdocs.yml` configuration file under the `plugins` section. This example demonstrates a basic navigation setup including a glob pattern for automatic file inclusion.
If upgrading from v2.x, review your `nav_sections` usage. For similar functionality, consider using `sections` for managing hidden content or the main `nav` for primary structure. Refer to the v3.x documentation.
Ensure your MkDocs installation is at least version 1.5.0 (`pip install "mkdocs>=1.5.0"`) and your Python environment is 3.10 or newer. Check your `mkdocs --version` and `python --version`.
Add `awesome-nav` to your `plugins` list: ```yaml plugins: - awesome-nav ``` Ensure there are no indentation errors.
Ensure the plugin is installed (`pip install mkdocs-awesome-nav`) and correctly listed as `awesome-nav` under `plugins` in your `mkdocs.yml`.
Remove `nav_sections` from your `mkdocs.yml`. If you need to manage navigation sections, consult the v3.x documentation for alternatives, primarily using the main `nav` section or the new `sections` configuration.
Upgrade MkDocs to version 1.5.0 or higher: `pip install --upgrade "mkdocs>=1.5.0"`. Also, verify your Python version is 3.10 or newer.