We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44de232 commit 5a1252dCopy full SHA for 5a1252d
tools/doc/stability.mjs
@@ -32,22 +32,23 @@ function collectStability(data) {
32
33
stability.push({
34
api: mod.name,
35
+ displayName: mod.textRaw,
36
link: link,
37
stability: mod.stability,
38
stabilityText: `(${mod.stability}) ${mod.stabilityText}`,
39
});
40
}
41
42
- stability.sort((a, b) => a.api.localeCompare(b.api));
43
+ stability.sort((a, b) => a.displayName.localeCompare(b.displayName));
44
return stability;
45
46
47
function createMarkdownTable(data) {
48
const md = ['| API | Stability |', '| --- | --------- |'];
49
50
for (const mod of data) {
- md.push(`| [${mod.api}](${mod.link}) | ${mod.stabilityText} |`);
51
+ md.push(`| [${mod.displayName}](${mod.link}) | ${mod.stabilityText} |`);
52
53
54
return md.join('\n');
0 commit comments