Files
qdrant/tools/update-diagrams.sh
Andrey Vasnetsov 97b2270485 Rustdoc and README for internal entities and processes (#123)
* extend comments for strorage crate

* update comments and readme for collection crate

* apply cargo fmt

* fix tests

* apply fmt
2021-11-29 09:39:22 +01:00

12 lines
365 B
Bash

#!/usr/bin/env bash
# Finds all diagrams in documentation and updates renders
# Use this script if you updated one of the *.mmd files.
# Ensure current path is project root
cd "$(dirname "$0")/../" || exit
find . -name '*.mmd' \
| xargs -I {} docker run --rm -v $PWD:/data -u $UID ghcr.io/mermaid-js/mermaid-cli/mermaid-cli:latest -i /data/{} -o /data/{}.png