You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
-
- function build {
- dot -Tsvg system-diagram.dot -o system-diagram.svg
- rsvg-convert -f pdf -o system-diagram.pdf system-diagram.svg
- kramdown system.md >system.html
-
- sed -i 's/width="[^"]*"/width="100%"/' system-diagram.svg
- sed -i 's/height="[^"]*"//' system-diagram.svg
- }
-
- build
-
- while :
- do inotifywait -e modify -r *.dot *.md
- build
- done
|