skillfed

mkdocs-auto-tag-plugin

Add tags to your MkDocs pages based on their path / file name

mkdocs-auto-tag-plugin v0.1.3 981.9K downloads/30d#4,585 on PyPI0
Permissive license MIT License Abandoned released

What it is and what it does

mkdocs-auto-tag-plugin is a MkDocs plugin that automatically tags documentation pages based on their file paths and names. It uses glob patterns to match files and assign one or more tags to matching pages, with optional support for regex patterns and dynamic tag generation via capture groups. The plugin integrates directly into the MkDocs build pipeline and requires only mkdocs as a runtime dependency.

The package is designed for documentation sites that want to organize pages by topic or category without manually adding metadata to each file. It works by inspecting file paths and applying rules defined in the mkdocs.yml configuration. However, the project has been abandoned since its latest release on 2023-08-01 with no recent maintenance, so it may not work with newer mkdocs releases or receive bug fixes.

Use it for:

  • Automatically tag blog posts by directory (e.g., all files under docs/blog/ get a 'blog' tag).
  • Assign API documentation tags based on file path patterns without editing each page.
  • Generate dynamic tags from file names using regex capture groups (e.g., extract version from filename).
  • Organize large documentation sites by topic using glob-based rules in a single configuration file.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Automatically assigns tags to MkDocs pages based on their file path, parent directories, or file name using glob patterns and optional regex capture groups.

No. While the plugin is permissively licensed and has low install friction, it is abandoned and has not been updated since 2023-08-01. For a documentation site that must remain compatible with current mkdocs versions, the lack of maintenance poses a real risk. Consider it only if you are locked to an older mkdocs version and need this specific functionality.

Install

mkdocs-auto-tag-plugin on PyPI

pip

pip install mkdocs-auto-tag-plugin

uv

uv add mkdocs-auto-tag-plugin

poetry

poetry add mkdocs-auto-tag-plugin

Installing mkdocs-auto-tag-plugin

Before you install

Low friction install as a pure Python wheel with only mkdocs as a runtime dependency. However, the project is abandoned—last commit was 2023-08-01 and no updates have been released since the initial release period. Bug fixes and compatibility updates are unlikely.

License in practice

MIT License permits commercial and private use, modification, and redistribution with minimal restrictions, making it safe to adopt from a licensing standpoint.

Quickstart

pip install mkdocs-auto-tag-plugin

# In mkdocs.yml, add the plugin:
plugins:
  - auto-tag:
      globs:
        - pattern: 'docs/blog/**'
          tags: ['blog']
        - pattern: 'docs/api/.*\.md'
          tags: ['api']

Requires mkdocs to be installed and a valid mkdocs.yml configuration file in your project.

Verify before relying

  • Whether the plugin remains compatible with current mkdocs versions given the last commit was 2023-08-01.
  • Whether regex capture group functionality for dynamic tag generation works as documented.
  • Performance impact when applied to large documentation sites with many files.

Package facts

License MIT License (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 1 — mkdocs
Maintenance abandoned — 1,109 days since the last release
Last repo commit
First released
Downloads 981,916/month — #4,585 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mkdocs_auto_tag_plugin-0.1.3-py3-none-any.whl

License :: OSI Approved :: MIT LicenseOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.9

Tags

mkdocs tagging automationauto tag mkdocs pagesfile path based tagsmkdocs plugin tagsdirectory based taggingmkdocs metadata automation
mkdocs-pluginabandoned

More Documentation packages

docutils

Docutils converts plaintext documentation in…

unclear · top 1,000 on PyPI

Sphinx

Sphinx generates professional documentation…

permissive · top 1,000 on PyPI

griffe

Griffe extracts the complete structure and…

permissive · top 1,000 on PyPI

sphinxcontrib-serializinghtml

A Sphinx extension that outputs documentation…

permissive · top 1,000 on PyPI

alabaster

Alabaster is a clean, responsive Sphinx theme…

permissive · top 1,000 on PyPI

sphinxcontrib-htmlhelp

A Sphinx extension that generates HTML help…

permissive · top 1,000 on PyPI

mkdocs-exclude

A mkdocs plugin that excludes files and…

permissive · top 15,000 on PyPI

mkdocs-meta-manager

A MkDocs plugin that automatically applies meta…

permissive · top 5,000 on PyPI

mkdocs-autorefs

A MkDocs plugin that automatically creates…

permissive · top 5,000 on PyPI

mkdocs-awesome-pages-plugin

A plugin for MkDocs that lets you customize…

permissive · top 5,000 on PyPI

mkdocs-awesome-nav

A MkDocs plugin that lets you customize your…

permissive · top 5,000 on PyPI

mkdocs-redirects

A MkDocs plugin that generates HTTP redirects…

permissive · top 5,000 on PyPI

mkdocs-gen-files

MkDocs plugin that generates documentation…

permissive · top 5,000 on PyPI

mkdocs-print-site-plugin

MkDocs plugin that generates a combined print…

permissive · top 15,000 on PyPI

mkdocs-table-reader-plugin

A MkDocs plugin that inserts tables from…

permissive · top 15,000 on PyPI

mkdocs-macros-plugin

Extends MkDocs with Jinja2 templating to use…

permissive · top 5,000 on PyPI