MkDocs Meta Manager

1.1.0 · active · verified Sat Apr 11

mkdocs-meta-manager is an MkDocs plugin that facilitates the management of meta tags across folders and files within your documentation site. It allows for hierarchical merging of metadata from `.meta.yml` files, simplifying the application of front matter to multiple pages. The current version is 1.1.0, and it has a moderate release cadence driven by feature enhancements and bug fixes.

Warnings

Install

Imports

Quickstart

To quickly enable the plugin, add `meta-manager` to your `plugins` section in `mkdocs.yml`. You can optionally configure the `meta_filename` and specify `merge_entries` (e.g., `tags`, `authors`) to define which metadata keys should be merged hierarchically. Create `.meta.yml` files in your documentation folders to define metadata that will apply to all Markdown files in that folder and its subfolders.

plugins:
  - search
  - meta-manager:
      meta_filename: .meta.yml # Default value, can be customized
      merge_entries: [tags, authors] # Example of merging tags and authors

# In your docs directory, create a .meta.yml file, e.g.:
# docs/chapter1/.meta.yml
# tags:
#   - Chapter 1
# authors:
#   - John Doe

view raw JSON →