A MkDocs plugin that renders diagrams defined using the Diagrams library (Python DSL for cloud system architecture diagrams) inline in your documentation. The plugin hooks into the MkDocs build process, compiling .py diagram scripts into SVG or PNG images. Current version 1.0.0, stable but maintained with low release cadence.
pip install mkdocs-diagramsVerified import paths — ran on the pinned version, not inferred.
Initialize the plugin in your MkDocs project. Add 'diagrams' to the plugins list in mkdocs.yml, then place .py diagram scripts in your docs directory.
Ensure graphviz executable is installed on the system (e.g., apt-get install graphviz) and all imports are available.
Each diagram script must include a `with Diagram(...):` block and the corresponding output.
Use Python 3.7+.