File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -32,22 +32,23 @@ function collectStability(data) {
32
32
33
33
stability . push ( {
34
34
api : mod . name ,
35
+ displayName : mod . textRaw ,
35
36
link : link ,
36
37
stability : mod . stability ,
37
38
stabilityText : `(${ mod . stability } ) ${ mod . stabilityText } ` ,
38
39
} ) ;
39
40
}
40
41
}
41
42
42
- stability . sort ( ( a , b ) => a . api . localeCompare ( b . api ) ) ;
43
+ stability . sort ( ( a , b ) => a . displayName . localeCompare ( b . displayName ) ) ;
43
44
return stability ;
44
45
}
45
46
46
47
function createMarkdownTable ( data ) {
47
48
const md = [ '| API | Stability |' , '| --- | --------- |' ] ;
48
49
49
50
for ( const mod of data ) {
50
- md . push ( `| [${ mod . api } ](${ mod . link } ) | ${ mod . stabilityText } |` ) ;
51
+ md . push ( `| [${ mod . displayName } ](${ mod . link } ) | ${ mod . stabilityText } |` ) ;
51
52
}
52
53
53
54
return md . join ( '\n' ) ;
You can’t perform that action at this time.
0 commit comments