File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/node_modules/@stdlib/_tools/scripts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1243,17 +1243,17 @@ function publish( pkg, clbk ) {
1243
1243
}
1244
1244
}
1245
1245
1246
- // Replace GitHub MathJax equations with SVGs:
1246
+ debug ( ' Replace GitHub MathJax equations with SVGs...' ) ;
1247
1247
command = 'find . -type f -name \'*.md\' -print0 | xargs -0 perl -0777 -i -pe \'s/```math\\n([\\s\\S]+?)\\n```\\n\\n//g\'' ;
1248
1248
shell ( command , opts ) ;
1249
1249
command = 'find . -type f -name \'*.md\' -print0 | xargs -0 perl -0777 -i -pe \'s/<!-- <div class="equation"(.*)(<\\/div>\\s*-->)/<div class="equation"$1<\\/div>/sg\'' ;
1250
1250
shell ( command , opts ) ;
1251
1251
1252
- // Replace GitHub links to individual packages with npm links:
1252
+ debug ( ' Replace GitHub links to individual packages with npm links...' ) ;
1253
1253
command = 'find . -type f -name \'*.md\' -print0 | xargs -0 sed -Ei \'/tree\\/main/b; s/@stdlib\\/([^:]*)\\]: https:\\/\\/github.com\\/stdlib-js/@stdlib\\/\\1\\]: https:\\/\\/www.npmjs.com\\/package\\/@stdlib/g\'' ;
1254
1254
shell ( command , opts ) ;
1255
1255
1256
- // Replace list with links to other branches from installation section:
1256
+ debug ( ' Replace list with links to other branches from installation section...' ) ;
1257
1257
command = 'find . -type f -name \'*.md\' -print0 | xargs -0 perl -0777 -i -pe "s/\\`\\`\\`\n\nAlternatively,[^<]+<\\/section>/\\`\\`\\`\n\n<\\/section>/"' ;
1258
1258
shell ( command , opts ) ;
1259
1259
You can’t perform that action at this time.
0 commit comments