diff --git a/.github/workflows/generate_docs.yml b/.github/workflows/generate_docs.yml index 13ae2ac..e8fe7c5 100644 --- a/.github/workflows/generate_docs.yml +++ b/.github/workflows/generate_docs.yml @@ -47,4 +47,4 @@ jobs: with: name: generated_markdowns path: | - build/docs/*.md + build/docs/* diff --git a/scripts/generate_md.sh b/scripts/generate_md.sh index f7fefe7..660c073 100755 --- a/scripts/generate_md.sh +++ b/scripts/generate_md.sh @@ -71,7 +71,8 @@ do if [ -s "extensions/$extension/description.yml" ]; then echo -n " " >> $EXTENSION_README cat extensions/$extension/description.yml | yq -r ".extension.description" >> $EXTENSION_README - cat extensions/$extension/description.yml | yq '.extension.name, .repo.github, .repo.ref, .extension.description' | xargs printf "%s,%s,%s,\"%s\"\n" >> $EXTENSIONS_CSV + cat extensions/$extension/description.yml | yq '.extension.name, .repo.github, .repo.ref' | xargs printf '%s,%s,%s,"' >> $EXTENSIONS_CSV + cat extensions/$extension/description.yml | yq -r '.extension.description' | sed 's/$/"/' >> $EXTENSIONS_CSV echo "" >> $EXTENSION_README cat extensions/$extension/description.yml >> $EXTENSION_README echo "" >> $EXTENSION_README