File tree Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 1- 2023-03-01T01:56:22.384Z
1+ 2023-04-01T02:07:45.229Z
Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ jobs:
110110 exit 0
111111 fi
112112 rm -rf ./bin/cli
113- rm test/test.cli.js
114- rm etc/cli_opts.json
115- rm docs/usage.txt
113+ rm -f test/test.cli.js
114+ rm -f etc/cli_opts.json
115+ rm -f docs/usage.txt
116116
117117 # For all dependencies, check in all *.js files if they are still used; if not, remove them:
118118 jq -r '.dependencies | keys[]' ./package.json | while read -r dep; do
@@ -149,6 +149,12 @@ jobs:
149149 # Add link definition for CLI package to README.md:
150150 find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe "s/<section class=\"links\">/<section class=\"links\">\n\n[$escapedPkg]: https:\/\/www.npmjs.com\/package\/$escapedPkg/"
151151
152+ # Replace GitHub MathJax equations with SVGs:
153+ - name : ' Replace GitHub MathJax equations with SVGs'
154+ run : |
155+ find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/```math\n([\s\S]+?)\n```\n\n//g'
156+ find . -type f -name '*.md' -print0 | xargs -0 perl -0777 -i -pe 's/<!-- <div class="equation"(.*)(<\/div>\s*-->)/<div class="equation"$1<\/div>/sg'
157+
152158 # Replace GitHub links to individual packages with npm links:
153159 - name : ' Replace all GitHub links to individual packages with npm links'
154160 run : |
@@ -162,8 +168,8 @@ jobs:
162168 # Remove unnecessary files:
163169 - name : ' Remove unnecessary files'
164170 run : |
165- rm docs/repl.txt
166- rm docs/types/test.ts
171+ rm -f docs/repl.txt
172+ rm -f docs/types/test.ts
167173
168174 # Replace all stdlib GitHub dependencies with the respective npm packages:
169175 - name : ' Replace all stdlib GitHub dependencies with the respective npm packages'
Original file line number Diff line number Diff line change @@ -28,5 +28,7 @@ Ryan Seal <splrk@users.noreply.github.com>
2828Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
2929Shraddheya Shendre <shendreshraddheya@gmail.com>
3030Stephannie Jiménez Gacha <steff456@hotmail.com>
31+ Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
3132dorrin-sot <59933477+dorrin-sot@users.noreply.github.com>
33+ orimiles5 <97595296+orimiles5@users.noreply.github.com>
3234rei2hu <rei2hu@users.noreply.github.com>
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
162162-->
163163
164164[ chat-image ] : https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
165- [ chat-url ] : https://gitter.im/stdlib-js/stdlib/
165+ [ chat-url ] : https://app. gitter.im/#/room/#stdlib-js_stdlib:gitter.im
166166
167167[ stdlib ] : https://github.com/stdlib-js/stdlib
168168
You can’t perform that action at this time.
0 commit comments