From 776f925d702132007f6f3ea02574999bb482a81d Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Thu, 3 Feb 2022 20:43:11 -0500 Subject: [PATCH] Remove optional Markdown horizontal rule in front of sections --- .../_tools/scripts/templates/workflow_bundle.yml.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_bundle.yml.txt b/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_bundle.yml.txt index 3bc7654c6fa..e16296b80f7 100644 --- a/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_bundle.yml.txt +++ b/lib/node_modules/@stdlib/_tools/scripts/templates/workflow_bundle.yml.txt @@ -76,8 +76,8 @@ jobs: # Remove `installation`, `cli`, and `c` sections: find ./deno -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/
[^<]+<\/section>//g;" - find ./deno -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/
[\s\S]+<\!\-\- \/.cli \-\->//g" - find ./deno -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/
[\s\S]+<\!\-\- \/.c \-\->//g" + find ./deno -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?
[\s\S]+<\!\-\- \/.cli \-\->//g" + find ./deno -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?
[\s\S]+<\!\-\- \/.c \-\->//g" - name: Publish to deno branch uses: peaceiris/actions-gh-pages@v3 @@ -123,8 +123,8 @@ jobs: # Remove `installation`, `cli`, and `c` sections: find ./umd -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/
[^<]+<\/section>//g;" - find ./umd -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/
[\s\S]+<\!\-\- \/.cli \-\->//g" - find ./umd -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/
[\s\S]+<\!\-\- \/.c \-\->//g" + find ./umd -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?
[\s\S]+<\!\-\- \/.cli \-\->//g" + find ./umd -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?
[\s\S]+<\!\-\- \/.c \-\->//g" - name: Publish to umd branch uses: peaceiris/actions-gh-pages@v3 @@ -188,8 +188,8 @@ jobs: # Remove `installation`, `cli`, and `c` sections: find ./esm -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/
[^<]+<\/section>//g;" - find ./esm -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/
[\s\S]+<\!\-\- \/.cli \-\->//g" - find ./esm -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/
[\s\S]+<\!\-\- \/.c \-\->//g" + find ./esm -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?
[\s\S]+<\!\-\- \/.cli \-\->//g" + find ./esm -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/(\* \* \*\n+)?
[\s\S]+<\!\-\- \/.c \-\->//g" # Rewrite examples section to be a HTML file: find ./esm -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/\#\# Examples([\s\S]*)\`\`\`javascript([\s\S]+?)\`\`\`/\#\# Examples\1\`\`\`html\n<\!DOCTYPE html>\n\n\n