./gwion --cdoc >> docs/Reference/README.mdr
echo '```' >> docs/Reference/README.mdr
+ - name: Plugin Reference
+ run: |
+ for plug in *.so; do bash scripts/mk_page.sh $plug; done
+
- name: Build book
run: PATH=$PWD:$PATH make build
--- /dev/null
+# Plugin Reference
+
+compiler generated docs for gwion plugins
--- /dev/null
+NAME=$(echo $1 | sed 's/\.so//')
+DATA="./gwion -p. -P $NAME"
+
+mkpage() {
+cat << EOF
+# $NAME
+
+compiler generated documentation
+
+\`\`\`gwion
+EOF
+
+./gwion -p. -P $NAME
+
+echo '```'
+}
+
+mkpage > docs/Reference/Plugins/$NAME.mdr
}
update Gwion gwion
+update Gwion gwion-plug
update fennecdjay mdr
update fennecdjay cmojify