meowlib/doc/docgen.sh

18 lines
486 B
Bash
Raw Normal View History

2023-11-06 22:44:21 +01:00
#!/bin/bash
go-plantuml generate -o generated/meowlib.puml -d ..
sed -i 's/\.\./meowlib\ /g' generated/meowlib.puml
go-plantuml generate -o generated/client.puml -d ../client
sed -i 's/\.\.\/client/client/g' generated/client.puml
go-plantuml generate -o generated/server.puml -d ../server
sed -i 's/\.\.\/server/server/g' generated/server.puml
2024-03-26 20:22:56 +01:00
cp *.puml generated/
2023-11-06 22:44:21 +01:00
cd generated
plantuml .
2023-11-08 21:52:09 +01:00
plantuml -latex .
2024-03-26 20:22:56 +01:00
mv *.tex tex/
mv *.png png/
rm *.log *.aux *.fdb_latexmk *.fls *.gz *.puml
2023-11-06 22:44:21 +01:00