* comment out ungenerated uml .svg in the md files * generate svgs to docs/uml * create docs/uml/svg * move .punl to docs/uml/puml * update uml path in md files * docs: update relative path of uml svg in `x` md files * docs: remove plantuml script from pre.sh Co-authored-by: Marko <marbar3778@yahoo.com>
13 lines
416 B
Bash
Executable File
13 lines
416 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
mkdir -p modules
|
|
|
|
for D in ../x/*; do
|
|
if [ -d "${D}" ]; then
|
|
rm -rf "modules/$(echo $D | awk -F/ '{print $NF}')"
|
|
mkdir -p "modules/$(echo $D | awk -F/ '{print $NF}')" && cp -r $D/spec/* "$_"
|
|
fi
|
|
done
|
|
|
|
cat ../x/README.md | sed 's/\.\/x/\/modules/g' | sed 's/spec\/README.md//g' | sed 's/\.\.\/docs\/building-modules\/README\.md/\/building-modules\/intro\.html/g' > ./modules/README.md
|