No project description provided
Project description
ADR for MkDocs's Material Theme
ADR are short text documents that captures an important architectural decision made along with its context and consequences.
Install
pip install mkdocs-material-adr
# or
poetry add mkdocs-material-adr
In the mkdocs.yml
file
theme:
# set the name
name: mkdocs-material-adr
# Configuration for the material theme
features:
- navigation.instant
plugins:
- mkdocs-material-adr/adr
Features
ADR Headers
Information about the ADR are displayed in a header Define information about the ADR in the frontmatter.
---
title: 0004 Title
adr:
author: Jean-Loup Monnier
created: 01-Aug-2023
status: draft | proposed | rejected | accepted | superseded
superseded_by: 0001-test
extends:
- 0001-first
- 0002-second
---
You can change the colors or add new status using css
/* Background color */
.c-pill-<lower_case_status_name> {
background: #a3a3a3;
}
/* Dot color */
.c-pill-<lower_case_status_name>:before {
background: #505050;
}
ADR Graph
Auto generated graph.
To enable it add [GRAPH]
in the markdown file you want the graph to be, Then add th following configuration
plugins:
- mkdocs-material-adr/adr:
graph_file: index.md # Change this to your file
markdown_extensions:
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mkdocs_material_adr-1.1.1.tar.gz
.
File metadata
- Download URL: mkdocs_material_adr-1.1.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.9.20 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d89dfef9c273cf70a63a25ede01f2e9c118416c12732b2e7dfe1648b204d504d |
|
MD5 | 468e2f8dc3d120154d595e24d69f180a |
|
BLAKE2b-256 | 12cc9f7cc49fe415f4f8befc885dd499e5b512f37075146d00f80e82a85505c4 |
File details
Details for the file mkdocs_material_adr-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: mkdocs_material_adr-1.1.1-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.9.20 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d26afcfd221fc43c284251e9c0a6ec25c51d1217abf0b297d7356b1fe2c174a0 |
|
MD5 | 6c283e101794ffe4dbe1ab9dc9df3933 |
|
BLAKE2b-256 | 424b1484bc906c395cfbdb5428ae8c3be472e889f8a733e421dba88cf27244ad |