Skip to content

Commit

Permalink
docs(mesh): fix link rewrites
Browse files Browse the repository at this point in the history
With the recent change do the docs generator we were not rewrite the links correctly.
  • Loading branch information
lahabana authored Nov 13, 2024
1 parent 9775bdb commit 18acef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/_plugins/generators/kuma_to_kong_mesh.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 18acef1

Please sign in to comment.