We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5484bab commit 5f961a2Copy full SHA for 5f961a2
tools/doc/stability.mjs
@@ -48,6 +48,10 @@ function createMarkdownTable(data) {
48
const md = ['| API | Stability |', '| --- | --------- |'];
49
50
for (const mod of data) {
51
+ // Remove extra text after stability index.
52
+ if (mod.stabilityText) {
53
+ mod.stabilityText = mod.stabilityText.replace(/(\(\d\) \w+)[\s\S]*/m, '$1');
54
+ }
55
md.push(`| [${mod.displayName}](${mod.link}) | ${mod.stabilityText} |`);
56
}
57
0 commit comments