diff --git a/src/main/kotlin/org/openrewrite/RecipeMarkdownGenerator.kt b/src/main/kotlin/org/openrewrite/RecipeMarkdownGenerator.kt index 8ae6368..011a69c 100644 --- a/src/main/kotlin/org/openrewrite/RecipeMarkdownGenerator.kt +++ b/src/main/kotlin/org/openrewrite/RecipeMarkdownGenerator.kt @@ -31,6 +31,12 @@ import java.util.stream.Collectors import kotlin.io.path.toPath import kotlin.system.exitProcess +// These recipes contain invalid markdown and would cause issues +// with doc generation if left in. +private val recipesToIgnore = listOf( + "org.apache.camel.upgrade.camel45.UseExtendedCamelContextGetters" +) + @Command( name = "rewrite-recipe-markdown-generator", mixinStandardHelpOptions = true, @@ -776,6 +782,10 @@ class RecipeMarkdownGenerator : Runnable { appendLine() for (recipe in compositeRecipes) { + if (recipesToIgnore.contains(recipe.name)) { + continue; + } + var recipeSimpleName = recipe.name.substring(recipe.name.lastIndexOf('.') + 1).lowercase() val formattedDisplayName = recipe.displayName .replace("