|
|
|
@ -7,12 +7,10 @@ module Docs
|
|
|
|
|
home: 'https://kubernetes.io/',
|
|
|
|
|
code: 'https://github.com/kubernetes/kubernetes'
|
|
|
|
|
}
|
|
|
|
|
self.release = "1.23"
|
|
|
|
|
|
|
|
|
|
# https://kubernetes.io/docs/reference/kubernetes-api/
|
|
|
|
|
html_filters.push 'kubernetes/entries', 'kubernetes/clean_html'
|
|
|
|
|
|
|
|
|
|
# options[:max_image_size] = 300_000
|
|
|
|
|
options[:container] = '.td-content'
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
@ -28,14 +26,7 @@ module Docs
|
|
|
|
|
|
|
|
|
|
version '1.20' do
|
|
|
|
|
self.release = "#{version}"
|
|
|
|
|
verStr = version.sub('.', '-')
|
|
|
|
|
self.base_url = "https://v#{verStr}.docs.kubernetes.io/docs/reference/kubernetes-api/"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
version '1.19' do
|
|
|
|
|
self.release = "#{version}"
|
|
|
|
|
verStr = version.sub('.', '-')
|
|
|
|
|
self.base_url = "https://v#{verStr}.docs.kubernetes.io/docs/reference/kubernetes-api/"
|
|
|
|
|
self.base_url = "https://v#{version.sub('.', '-')}.docs.kubernetes.io/docs/reference/kubernetes-api/"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def get_latest_version(opts)
|
|
|
|
|