Skip to content

Commit

Permalink
(doc) Update checkstyle rule link format
Browse files Browse the repository at this point in the history
New links direct to https://checkstyle.org/checks/{category}/{ruleName}.html, fixing a cause for navigation errors upon clicking on the link.
  • Loading branch information
rshindo committed May 3, 2024
1 parent cf708a3 commit be6d73f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private void renderRuleRow(ConfReference ref, CheckstyleResults results, String
// column 2: Rule name + configured attributes
sink.tableCell();
if (!"extension".equals(category)) {
sink.link("https://checkstyle.org/config_" + category + ".html#" + ruleName);
sink.link("https://checkstyle.org/checks/" + category + "/" + ruleName.toLowerCase() + ".html");
sink.text(ruleName);
sink.link_();
} else {
Expand Down

0 comments on commit be6d73f

Please sign in to comment.