Skip to main content

MkDocs ADR Plugin

A plugin for MkDocs that adds a floating button to create Architecture Decision Records (ADR) directly from the documentation UI.

Features

  • 🔘 Floating button with a modal form
  • ✏️ Edit template content before saving
  • 🔢 Automatic numbering and date substitution
  • 📁 Select template from docs/adr/templates/
  • 🌐 Works with any MkDocs theme
  • 🐧 Cross‑platform (Linux, macOS, Windows)

Installation

pip install mkdocs-adr-plugin

Usage

Start the server

From your project root (where mkdocs.yml is located), run:

mkdocs-adr

This starts both the ADR API (FastAPI) and mkdocs serve in one terminal.

Create an ADR

  1. Open http://localhost:8000
  2. Click the + button in the bottom‑right corner
  3. Fill in the form:
    • Slug – filename part (only letters, digits, hyphen, underscore)
    • Title – full ADR title (optional, defaults to slug)
    • Template – choose one from docs/adr/templates/
    • Content – edit the Markdown content as needed
  4. Click Save – the new ADR file will be created in docs/adr/ and the page reloads.

Configuration in mkdocs.yml

plugins:
  - adr_plugin:
      api_url: http://localhost:8765   # optional, default is this

Custom Templates

Put .md files inside docs/adr/templates/. You can use the following placeholders:

  • {{NUMBER}} – auto‑incremented number (0001, 0002…)
  • {{TITLE}} – title from the form
  • {{DATE}} – current date (ISO 8601)

The default template is created automatically on first run.

License

MIT

Metadata

Release files for mkdocs-adr-plugin 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mkdocs-adr-plugin 0.2.0
File Size Uploaded Provenance Actions
mkdocs_adr_plugin-0.2.0.tar.gz 8.5 kB Without provenance Details for mkdocs_adr_plugin-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mkdocs-adr-plugin 0.2.0
File Interpreter ABI Platform Actions
mkdocs_adr_plugin-0.2.0-py3-none-any.whl Python 3 none any Details for mkdocs_adr_plugin-0.2.0-py3-none-any.whl

Total release size: 17.0 kB

Release files / mkdocs_adr_plugin-0.2.0.tar.gz

Download URL mkdocs_adr_plugin-0.2.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e45502c55e6ceb2095fcbafc9652159af954f29a76cfc76f123b9a20a7a05bc0
BLAKE2b-256 checksum
How to use checksums
f08eb3ccabf2dde0c461e3c607a12a74d480006aecdef47f05ec9450f9d9bd80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / mkdocs_adr_plugin-0.2.0-py3-none-any.whl

Download URL mkdocs_adr_plugin-0.2.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb517cb6feec2867f2c57de7bdf3ac46323fcd7eeff82091ae90791cfab8e0c1
BLAKE2b-256 checksum
How to use checksums
923d8455f4332948bb80d19a5f18004c34ef107704da41e7ddcb5ef7d8d026a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for mkdocs-adr-plugin 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page