|
|
|
@ -19,27 +19,14 @@ module Docs
|
|
|
|
|
HTML
|
|
|
|
|
else
|
|
|
|
|
<<-HTML
|
|
|
|
|
© 2012–2019 Manas Technology Solutions.<br>
|
|
|
|
|
© 2012–2020 Manas Technology Solutions.<br>
|
|
|
|
|
Licensed under the Apache License, Version 2.0.
|
|
|
|
|
HTML
|
|
|
|
|
end
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
version '0.31' do
|
|
|
|
|
self.release = '0.31.1'
|
|
|
|
|
self.root_path = "api/#{release}/index.html"
|
|
|
|
|
|
|
|
|
|
options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//]
|
|
|
|
|
options[:skip_patterns] = [/debug/i]
|
|
|
|
|
|
|
|
|
|
options[:replace_paths] = {
|
|
|
|
|
"api/#{release}/" => "api/#{release}/index.html",
|
|
|
|
|
'docs/' => 'docs/index.html'
|
|
|
|
|
}
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
version '0.30' do
|
|
|
|
|
self.release = '0.30.1'
|
|
|
|
|
version do
|
|
|
|
|
self.release = '0.35.1'
|
|
|
|
|
self.root_path = "api/#{release}/index.html"
|
|
|
|
|
|
|
|
|
|
options[:only_patterns] = [/\Adocs\//, /\Aapi\/#{release}\//]
|
|
|
|
|