diff --git a/scripts/render-images.sh b/scripts/render-images.sh index 8997343..d49b9c2 100755 --- a/scripts/render-images.sh +++ b/scripts/render-images.sh @@ -1,7 +1,9 @@ #!/bin/sh -input_dir="./diagrams" -output_dir="./docs/images" +input_dir="diagrams" +output_dir="docs/images" + +mkdir -p "$output_dir" command_path=$( [ -z "$CI" ] && echo "." || echo "/home/mermaidcli" ) config_path=$( [ -z "$CI" ] && echo "." || echo "")