@ -20,11 +20,36 @@ module Docs
# latest version has a special URL that does not include the version identifier
# latest version has a special URL that does not include the version identifier
version do
version do
self . release = " 1.2 6 "
self . release = " 1.2 9 "
self . base_url = " https://kubernetes.io/docs/reference/kubernetes-api/ "
self . base_url = " https://kubernetes.io/docs/reference/kubernetes-api/ "
end
end
version '1.20' do
version '1.28' do
self . release = " #{ version } "
self . base_url = " https://v #{ version . sub ( '.' , '-' ) } .docs.kubernetes.io/docs/reference/kubernetes-api/ "
end
version '1.27' do
self . release = " #{ version } "
self . base_url = " https://v #{ version . sub ( '.' , '-' ) } .docs.kubernetes.io/docs/reference/kubernetes-api/ "
end
version '1.27' do
self . release = " #{ version } "
self . base_url = " https://v #{ version . sub ( '.' , '-' ) } .docs.kubernetes.io/docs/reference/kubernetes-api/ "
end
version '1.26' do
self . release = " #{ version } "
self . base_url = " https://v #{ version . sub ( '.' , '-' ) } .docs.kubernetes.io/docs/reference/kubernetes-api/ "
end
version '1.25' do
self . release = " #{ version } "
self . base_url = " https://v #{ version . sub ( '.' , '-' ) } .docs.kubernetes.io/docs/reference/kubernetes-api/ "
end
version '1.24' do
self . release = " #{ version } "
self . release = " #{ version } "
self . base_url = " https://v #{ version . sub ( '.' , '-' ) } .docs.kubernetes.io/docs/reference/kubernetes-api/ "
self . base_url = " https://v #{ version . sub ( '.' , '-' ) } .docs.kubernetes.io/docs/reference/kubernetes-api/ "
end
end