mirror of
https://github.com/typeable/octopod.git
synced 2024-11-22 08:45:20 +03:00
iko
aa00bee298
* Dropped russian docs * finally unified all control scripts * Added new control script docs * Integration guide * octo CLI user guide * Renamed things in UI * override -> configuration in octo CLI * more docs * dropped more russian links * fixed links * yet more fixes * Updated logo * Updated root readme * Fixed typos * resolved comment
23 lines
785 B
Makefile
23 lines
785 B
Makefile
.PHONY: docs mermaid plantuml
|
|
|
|
docs: mermaid plantuml
|
|
|
|
mermaid:
|
|
# to install mmdc use https://github.com/mermaidjs/mermaid.cli
|
|
#
|
|
# mmdc does not support stateDiagram-v2 (technical-architecture-deployment-statuses-fsm.mmd),
|
|
# use https://mermaid-js.github.io/mermaid-live-editor to render it
|
|
for src in `ls diagrams/src/*.mmd | grep -v technical-architecture-deployment-statuses-fsm.mmd`; do \
|
|
name=`basename $$src .mmd`; \
|
|
mmdc -i $$src -o "diagrams/images/$$name.png" --scale 4 --cssFile style.css; \
|
|
done
|
|
|
|
plantuml:
|
|
# to install plantuml go to https://plantuml.com/command-line
|
|
#
|
|
# plantuml takes output paths relative to input file
|
|
for src in `ls diagrams/src/*.puml`; do \
|
|
name=`basename $$src .mmd`; \
|
|
plantuml -I $$src -o "../../diagrams/images" -tpng; \
|
|
done
|