Skip to content

Commit

Permalink
doc: use module names in stability overview table
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Nov 4, 2022
1 parent 1af63a9 commit 27d0c7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/doc/stability.mjs
Expand Up @@ -32,6 +32,7 @@ function collectStability(data) {

stability.push({
api: mod.name,
displayName: mod.textRaw,
link: link,
stability: mod.stability,
stabilityText: `(${mod.stability}) ${mod.stabilityText}`,
Expand All @@ -47,7 +48,7 @@ function createMarkdownTable(data) {
const md = ['| API | Stability |', '| --- | --------- |'];

for (const mod of data) {
md.push(`| [${mod.api}](${mod.link}) | ${mod.stabilityText} |`);
md.push(`| [${mod.displayName}](${mod.link}) | ${mod.stabilityText} |`);
}

return md.join('\n');
Expand Down

0 comments on commit 27d0c7d

Please sign in to comment.