Skip to content

Commit d98ba07

Browse files
committed
[API] Generator: Replace 'current|master' with 7.5
1 parent d13d74e commit d98ba07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch-api/utils/thor/templates/_documentation_top.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
<% end -%>
2424
<%= ' '*(@namespace_depth+3) -%>#
2525
<%# Documentation link -%>
26-
<%= ' '*(@namespace_depth+3) %># @see <%= @spec['documentation']['url'] ? @spec['documentation']['url'] : "[TODO]" %>
26+
<%= ' '*(@namespace_depth+3) %># @see <%= @spec['documentation']['url'] ? @spec['documentation']['url'].gsub!(/\/(current|master)\//, '/7.5/') : "[TODO]" %>
2727
<%= ' '*(@namespace_depth+3) %>#

0 commit comments

Comments
 (0)