Skip to content

Commit 0e59dcc

Browse files
authored
docs(linter): replace issue docs column with hyperlink (#16496)
> Make the name of each rule a hyperlink to that rule's docs > The full links in the "Docs" column take up a lot of space See: #15927
1 parent 7268297 commit 0e59dcc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks/lint_rules/src/markdown-renderer.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ const renderRulesList = ({ title, counters, views, defaultOpen = true }) => `
7272
✅: ${counters.isImplemented}, 🚫: ${counters.isNotSupported}, ⏳: ${counters.isPendingFix} / total: ${counters.total}
7373
</summary>
7474
75-
| Status | Name | Docs |
76-
| :----: | :--- | :--- |
75+
| Status | Name |
76+
| :----: | :--- |
7777
${views
7878
.map((v) => {
7979
let status = "";
8080
if (v.isImplemented) status += "✅";
8181
if (v.isNotSupported) status += "🚫";
8282
if (v.isPendingFix) status += "⏳";
83-
return `| ${status} | ${v.name} | ${v.docsUrl} |`;
83+
return `| ${status} | [${v.name}](${v.docsUrl}) |`;
8484
})
8585
.join("\n")}
8686

0 commit comments

Comments
 (0)