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) {
3232
3333 stability . push ( {
3434 api : mod . name ,
35+ displayName : mod . textRaw ,
3536 link : link ,
3637 stability : mod . stability ,
3738 stabilityText : `(${ mod . stability } ) ${ mod . stabilityText } ` ,
3839 } ) ;
3940 }
4041 }
4142
42- stability . sort ( ( a , b ) => a . api . localeCompare ( b . api ) ) ;
43+ stability . sort ( ( a , b ) => a . displayName . localeCompare ( b . displayName ) ) ;
4344 return stability ;
4445}
4546
4647function createMarkdownTable ( data ) {
4748 const md = [ '| API | Stability |' , '| --- | --------- |' ] ;
4849
4950 for ( const mod of data ) {
50- md . push ( `| [${ mod . api } ](${ mod . link } ) | ${ mod . stabilityText } |` ) ;
51+ md . push ( `| [${ mod . displayName } ](${ mod . link } ) | ${ mod . stabilityText } |` ) ;
5152 }
5253
5354 return md . join ( '\n' ) ;
You can’t perform that action at this time.
0 commit comments