diff --git a/app/_plugins/generators/kuma_to_kong_mesh.rb b/app/_plugins/generators/kuma_to_kong_mesh.rb index c200e5f185ef..8d74f8eff304 100644 --- a/app/_plugins/generators/kuma_to_kong_mesh.rb +++ b/app/_plugins/generators/kuma_to_kong_mesh.rb @@ -50,7 +50,7 @@ def replace_exact_links(page) def replace_kuma_base_url(page) page.content = page .content - .gsub(%r{/docs/{{\s*page.version\s*}}}, '/mesh/{{ page.release }}') + .gsub(%r{/docs/{{\s*page.release\s*}}}, '/mesh/{{ page.release }}') end def replace_edit_url(page)