A PlantUML pre-commit hook that generates diagrams for use in technical documentation.
- Java
- Python3
.pre-commit-config.yaml
repos:
- repo: https://github.com/acodeninja/pre-commit-puml
rev: main
hooks:
- id: generate_plantuml
args:
# The repository root relative directory to output generated images to.
# To place generated images in the same directory as the source file, use @
- --output-directory=./images
# The file type to use, file names are maintained and extensions swapped.
- --output-extension=svg