Skip to main content

Manage decision records with mkdocs in a customizable and minimal fashion.

Project description

mkdocs-decision-records


Manage decision records with mkdocs in a customizable and minimal fashion.

Features

  • Customizable status colors and lifecycle
  • Enforces information to be present for ADRs
  • Allows description being kept as markdown

Demo

You can find a Demo on GitHub Pages

Installation

  1. Install mkdocs-decision-records from the PyPi registry using your favorite package manager
  2. Configure your mkdocs.yml
    plugins:
    - decision-records:
        # Folder where your decision records are located, defaults to adr
        decisions_folder: adr
        # Optional prefix to prepend to ticket numbers
        ticket_url_prefix: https://ticket.example.com/
        # Configure amount of required deciders
        required_deciders_count: 1
        # Configure available stages and the badge colors
        lifecycle_stages:
          {status}: {color}
    
  3. Create your ADRs ensuring to add the frontmatter meta data:
    ---
    id: 000
    status: proposed | rejected | accepted | deprecated | … | superseded by
    date: YYYY-MM-DD
    deciders:
       - decider 1
       - decider 2
    # Optional ticket
    ticket: FOO-1
    ---
    

Motivation

I love ADRs and documenting decisions in general. This plugin makes it a bit easier, enforcing basic meta information while keeping the format open enough so you can do your thing.

Contributing

I love your input! I want to make contributing to this project as easy and transparent as possible, whether it's:

  • Reporting a bug
  • Discussing the current state of the configuration
  • Submitting a fix
  • Proposing new features
  • Becoming a maintainer

To get started please read the Contribution Guidelines.

Development

Requirements

  • Python 3.12+
  • Poetry

Build

poetry install

Alternatives

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_decision_records-1.2.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_decision_records-1.2.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_decision_records-1.2.0.tar.gz.

File metadata

  • Download URL: mkdocs_decision_records-1.2.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.8 Linux/6.8.0-1018-aws

File hashes

Hashes for mkdocs_decision_records-1.2.0.tar.gz
Algorithm Hash digest
SHA256 98157b6c9852ec5a887e0414d01bcb7bdb8446985dc8c535bb8ed2c8fbf507db
MD5 485fe1a6debaee19e49f2d2500e61591
BLAKE2b-256 1e4a4394550d74cf3fb815947b6e78035edc0b9369e81db110600a816f45a0f3

See more details on using hashes here.

File details

Details for the file mkdocs_decision_records-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_decision_records-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5422f68969f763be5c5bf8c1b9ac0791d44d6b8b6a9fa0e025e0cc90b7278609
MD5 69b712e3b9f8ce2eb2dbb50ba6ee7bc8
BLAKE2b-256 967c33a0e9fab4b1517ea25c4b0e6f7bd65f9d45b92313e7354717ccb7348b3a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page