Skip to content

Commit 5f17799

Browse files
committed
Auto-generated commit
1 parent 4911201 commit 5f17799

File tree

4 files changed

+19
-9
lines changed

4 files changed

+19
-9
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/publish.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff 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'

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
2929
Shraddheya Shendre <shendreshraddheya@gmail.com>
3030
Stephannie Jiménez Gacha <steff456@hotmail.com>
3131
dorrin-sot <59933477+dorrin-sot@users.noreply.github.com>
32+
orimiles5 <97595296+orimiles5@users.noreply.github.com>
3233
rei2hu <rei2hu@users.noreply.github.com>

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,14 @@ A Bartlett pulse waveform is represented by the following equation
3232

3333
<!-- <equation class="equation" label="eq:bartlett_pulse_waveform" align="center" raw="f(t; T, \tau, a, \varphi) = \begin{cases}1 - \biggl|\frac{2(t-\varphi)}{\tau-1} - 1\biggr| & (t-\varphi) \mod T < \tau \\ 0 & \textrm{otherwise} \end{cases}" alt="Equation for a Bartlett pulse waveform."> -->
3434

35-
<div class="equation" align="center" data-raw-text="f(t; T, \tau, a, \varphi) = \begin{cases}1 - \biggl|\frac{2(t-\varphi)}{\tau-1} - 1\biggr| &amp; (t-\varphi) \mod T < \tau \\ 0 &amp; \textrm{otherwise} \end{cases}" data-equation="eq:bartlett_pulse_waveform">
35+
```math
36+
f(t; T, \tau, a, \varphi) = \begin{cases}1 - \biggl|\frac{2(t-\varphi)}{\tau-1} - 1\biggr| & (t-\varphi) \mod T < \tau \\ 0 & \textrm{otherwise} \end{cases}
37+
```
38+
39+
<!-- <div class="equation" align="center" data-raw-text="f(t; T, \tau, a, \varphi) = \begin{cases}1 - \biggl|\frac{2(t-\varphi)}{\tau-1} - 1\biggr| &amp; (t-\varphi) \mod T < \tau \\ 0 &amp; \textrm{otherwise} \end{cases}" data-equation="eq:bartlett_pulse_waveform">
3640
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@d8910751300fc12f81545175e5b0dbcbf4a67efa/lib/node_modules/@stdlib/simulate/iter/bartlett-pulse/docs/img/equation_bartlett_pulse_waveform.svg" alt="Equation for a Bartlett pulse waveform.">
3741
<br>
38-
</div>
42+
</div> -->
3943

4044
<!-- </equation> -->
4145

@@ -382,7 +386,7 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
382386
-->
383387

384388
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
385-
[chat-url]: https://gitter.im/stdlib-js/stdlib/
389+
[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
386390

387391
[stdlib]: https://github.com/stdlib-js/stdlib
388392

0 commit comments

Comments
 (0)