From 26fc76f73cca29febe456fc6b25e6b5fd42e1e12 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Wed, 23 Mar 2022 21:24:27 +0100 Subject: [PATCH] againandagainandagain --- .github/workflows/build.yml | 8 ++++---- docs/Reference/Plugins/list | 17 ++++++++++++++--- docs/Reference/list | 2 +- scripts/mk_page.sh | 6 +----- 4 files changed, 20 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6621e86..aa6634c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,10 +39,10 @@ jobs: ./gwion --cdoc >> docs/Reference/README.mdr echo '```' >> docs/Reference/README.mdr -# - name: Plugin Reference -# run: | -# rm -rf docs/Reference/Plugins/list -# for plug in *.so; do bash scripts/mk_page.sh $plug; done + - name: Plugin Reference + run: | + echo README.md > docs/Reference/Plugins/list + for plug in *.so; do bash scripts/mk_page.sh $plug; done - name: Build book run: PATH=$PWD:$PATH make build diff --git a/docs/Reference/Plugins/list b/docs/Reference/Plugins/list index fb00685a..a8b94b2d 100644 --- a/docs/Reference/Plugins/list +++ b/docs/Reference/Plugins/list @@ -1,4 +1,5 @@ -Soundpipe +README.md +Soundpipe.md TinySF Analys Emoji @@ -8,7 +9,17 @@ Machine Math Modules Sndfile -Soundpipe Std -TinySF Tuple +Analys.md +Emoji.md +File.md +Lsys.md +Machine.md +Math.md +Modules.md +Sndfile.md +Soundpipe.md +Std.md +TinySF.md +Tuple.md diff --git a/docs/Reference/list b/docs/Reference/list index 84d98cb2..8c912237 100644 --- a/docs/Reference/list +++ b/docs/Reference/list @@ -1,7 +1,7 @@ README.md -Plugins ControlFlow Extending Functions Types Preprocessor.md +Plugins diff --git a/scripts/mk_page.sh b/scripts/mk_page.sh index 49263d73..01d6e581 100644 --- a/scripts/mk_page.sh +++ b/scripts/mk_page.sh @@ -1,5 +1,4 @@ NAME=$(echo $1 | sed 's/\.so//') -DATA="./gwion -p. -P $NAME" mkpage() { cat << EOF @@ -16,7 +15,4 @@ echo '```' } mkpage > docs/Reference/Plugins/$NAME.mdr -echo $NAME >> docs/Reference/Plugins/list - -echo $NAME -cat docs/Reference/Plugins/list +echo $NAME.md >> docs/Reference/Plugins/list -- 2.43.0