Skip to content

Commit 9fa8edb

Browse files
committed
2 parents 9f4815d + 95b84a2 commit 9fa8edb

File tree

4 files changed

+656
-36
lines changed

4 files changed

+656
-36
lines changed

.github/workflows/scripts/update_ideas_list.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ var FOPTS = {
7878
'encoding': 'utf8'
7979
};
8080

81+
var RE_CHECKLIST = /### Checklist[\s\S]*/;
82+
8183

8284
// MAIN //
8385

@@ -99,6 +101,7 @@ async function main( github, context, core, fs, path, dir ) {
99101
var content;
100102
var issues;
101103
var fpath;
104+
var body;
102105
var str;
103106
var t;
104107
var i;
@@ -118,12 +121,14 @@ async function main( github, context, core, fs, path, dir ) {
118121
t = issues[ i ].title;
119122
t = t.replace( '[Idea]: ', '' );
120123
t = t[ 0 ].toUpperCase() + t.substring( 1 );
124+
125+
body = issues[ i ].body.replace( RE_CHECKLIST, '' ).trim();
121126
str = [
122127
'## ' + t,
123128
'',
124129
'Linked issue: <' + issues[ i ].url + '>',
125130
'',
126-
issues[ i ].body
131+
body
127132
].join( '\n' );
128133
content.push( str );
129134
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ To create a showcase,
207207
1. Provided you've already locally installed Node.js and have access to a JavaScript package manager (e.g., `npm`, which, by default, is installed as part of most Node.js distributions), run
208208
209209
```bash
210-
npm install @stdlib/stdlib
210+
npm install @stdlib/stdlib --save
211211
```
212212
213213
where `npm install` may be replaced by the equivalent command if you prefer other package managers, such as `yarn` or `jspm`.

0 commit comments

Comments
 (0)