kubernetes: omit version for latest

This commit is contained in:
Simon Legner 2022-05-03 20:51:37 +02:00
parent 633fc6b4cb
commit 638e531591
2 changed files with 4 additions and 4 deletions

View file

@ -20,8 +20,8 @@ module Docs
HTML
# latest version has a special URL that does not include the version identifier
version '1.23' do
self.release = "#{version}"
version do
self.release = "1.23"
self.base_url = "https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands"
end

View file

@ -19,8 +19,8 @@ module Docs
HTML
# latest version has a special URL that does not include the version identifier
version '1.23' do
self.release = "#{version}"
version do
self.release = "1.23"
self.base_url = "https://kubernetes.io/docs/reference/kubernetes-api/"
end