Skip to content

Commit

Permalink
Link to RSPEC
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Apr 22, 2024
1 parent 50dac39 commit b5c1481
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/kotlin/org/openrewrite/RecipeMarkdownGenerator.kt
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,11 @@ class RecipeMarkdownGenerator : Runnable {
writeln("### Tags")
newLine()
for (tag in recipeDescriptor.tags) {
writeln("* $tag")
if (tag.lowercase().startsWith("rspec-")) {
writeln("* [$tag](https://sonarsource.github.io/rspec/#/rspec/S${tag.substring(6)})")
} else {
writeln("* $tag")
}
}
newLine()
}
Expand Down

0 comments on commit b5c1481

Please sign in to comment.