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
- material/search # Note: all material plugin should be namespaced for them to work
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
You can also override the graph direction with [GRAPH direction=LR] (default to TD).
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
Metadata
Release files for mkdocs-material-adr 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mkdocs_material_adr-1.2.1.tar.gz | 10.1 kB | Without provenance | Details for mkdocs_material_adr-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mkdocs_material_adr-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for mkdocs_material_adr-1.2.1-py3-none-any.whl |
Total release size: 21.9 kB
Release files / mkdocs_material_adr-1.2.1.tar.gz
| Download URL | mkdocs_material_adr-1.2.1.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93470c697f52f57a336ef6a18afc825868abe8520b28727c5ec2f5ffd9ffd7f5
|
|
BLAKE2b-256 checksum How to use checksums |
5161178f971f8d93f3d1e9edc30316bd93c926fa054644ae82c4bed34324bb75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.21 Linux/6.8.0-1021-azure
|
Release files / mkdocs_material_adr-1.2.1-py3-none-any.whl
| Download URL | mkdocs_material_adr-1.2.1-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84a49cd152694d03e6a59aa8599593047f180ff3f3f023397254e10e111a8537
|
|
BLAKE2b-256 checksum How to use checksums |
e9b028edabdc96bbcee4a71011284af29a47cc7be26dba57216d66721b52e24c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.21 Linux/6.8.0-1021-azure
|
Security for mkdocs-material-adr 1.2.1
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.