File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
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 @@ -29,4 +29,5 @@ Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
2929Shraddheya Shendre <shendreshraddheya@gmail.com>
3030Stephannie Jiménez Gacha <steff456@hotmail.com>
3131dorrin-sot <59933477+dorrin-sot@users.noreply.github.com>
32+ orimiles5 <97595296+orimiles5@users.noreply.github.com>
3233rei2hu <rei2hu@users.noreply.github.com>
Original file line number Diff line number Diff line change @@ -30,10 +30,14 @@ The [corrected sample standard deviation][sample-stdev] is defined as
3030
3131<!-- <equation class="equation" label="eq:corrected_sample_standard_deviation" align="center" raw="s = \sqrt{\frac{1}{n-1} \sum_{i=0}^{n-1} ( x_i - \bar{x} )^2}" alt="Equation for the corrected sample standard deviation."> -->
3232
33- <div class =" equation " align =" center " data-raw-text =" s = \sqrt{\frac{1}{n-1} \sum_{i=0}^{n-1} ( x_i - \bar{x} )^2} " data-equation =" eq:corrected_sample_standard_deviation " >
33+ ``` math
34+ s = \sqrt{\frac{1}{n-1} \sum_{i=0}^{n-1} ( x_i - \bar{x} )^2}
35+ ```
36+
37+ <!-- <div class="equation" align="center" data-raw-text="s = \sqrt{\frac{1}{n-1} \sum_{i=0}^{n-1} ( x_i - \bar{x} )^2}" data-equation="eq:corrected_sample_standard_deviation">
3438 <img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@03e3798c09b1c8873fbc09a227eb8c7e88d0b985/lib/node_modules/@stdlib/stats/iter/stdev/docs/img/equation_corrected_sample_standard_deviation.svg" alt="Equation for the corrected sample standard deviation.">
3539 <br>
36- </div >
40+ </div> -->
3741
3842<!-- </equation> -->
3943
@@ -214,7 +218,7 @@ Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors].
214218-->
215219
216220[ chat-image ] : https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
217- [ chat-url ] : https://gitter.im/stdlib-js/stdlib/
221+ [ chat-url ] : https://app. gitter.im/#/room/#stdlib-js_stdlib:gitter.im
218222
219223[ stdlib ] : https://github.com/stdlib-js/stdlib
220224
You can’t perform that action at this time.
0 commit comments