Skip to content

Commit

Permalink
Doc generation: Fixup yq-to-csv in Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Jul 17, 2024
1 parent 4c09168 commit 759242d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
with:
name: generated_markdowns
path: |
build/docs/*.md
build/docs/*
3 changes: 2 additions & 1 deletion scripts/generate_md.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 '.extension.description' >> $EXTENSIONS_CSV
echo "" >> $EXTENSION_README
cat extensions/$extension/description.yml >> $EXTENSION_README
echo "" >> $EXTENSION_README
Expand Down

0 comments on commit 759242d

Please sign in to comment.