ansible: add version 2.8

pull/1042/head
Simon Legner 6 years ago
parent eada92ec98
commit ac2165eea1

@ -88,7 +88,7 @@ credits = [
'https://creativecommons.org/licenses/by/4.0/' 'https://creativecommons.org/licenses/by/4.0/'
], [ ], [
'Ansible', 'Ansible',
'2012-2018 Michael DeHaan<br>&copy; 2018 Red Hat, Inc.', '2012-2018 Michael DeHaan<br>&copy; 20182019 Red Hat, Inc.',
'GPLv3', 'GPLv3',
'https://raw.githubusercontent.com/ansible/ansible/devel/COPYING' 'https://raw.githubusercontent.com/ansible/ansible/devel/COPYING'
], [ ], [

@ -11,68 +11,43 @@ module Docs
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2012&ndash;2018 Michael DeHaan<br> &copy; 2012&ndash;2018 Michael DeHaan<br>
&copy; 2018 Red Hat, Inc.<br> &copy; 2018&ndash;2019 Red Hat, Inc.<br>
Licensed under the GNU General Public License version 3. Licensed under the GNU General Public License version 3.
HTML HTML
options[:skip] = %w(
installation_guide/index.html
reference_appendices/glossary.html
reference_appendices/faq.html
reference_appendices/tower.html
user_guide/quickstart.html
modules/modules_by_category.html
modules/list_of_all_modules.html)
options[:skip_patterns] = [
/\Acommunity.*/i,
/\Adev_guide.*/i,
/\Aroadmap.*/i,
]
version '2.8' do
self.release = '2.8'
self.base_url = 'https://docs.ansible.com/ansible/2.7/'
end
version '2.7' do version '2.7' do
self.release = '2.7.1' self.release = '2.7.1'
self.base_url = 'https://docs.ansible.com/ansible/2.7/' self.base_url = 'https://docs.ansible.com/ansible/2.7/'
options[:skip] = %w(
installation_guide/index.html
reference_appendices/glossary.html
reference_appendices/faq.html
reference_appendices/tower.html
user_guide/quickstart.html
modules/modules_by_category.html
modules/list_of_all_modules.html)
options[:skip_patterns] = [
/\Acommunity.*/i,
/\Adev_guide.*/i,
/\Aroadmap.*/i,
]
end end
version '2.6' do version '2.6' do
self.release = '2.6.7' self.release = '2.6.7'
self.base_url = 'https://docs.ansible.com/ansible/2.6/' self.base_url = 'https://docs.ansible.com/ansible/2.6/'
options[:skip] = %w(
installation_guide/index.html
reference_appendices/glossary.html
reference_appendices/faq.html
reference_appendices/tower.html
user_guide/quickstart.html
modules/modules_by_category.html
modules/list_of_all_modules.html)
options[:skip_patterns] = [
/\Acommunity.*/i,
/\Adev_guide.*/i,
/\Aroadmap.*/i,
]
end end
version '2.5' do version '2.5' do
self.release = '2.5.3' self.release = '2.5.3'
self.base_url = 'https://docs.ansible.com/ansible/2.5/' self.base_url = 'https://docs.ansible.com/ansible/2.5/'
options[:skip] = %w(
installation_guide/index.html
reference_appendices/glossary.html
reference_appendices/faq.html
reference_appendices/tower.html
user_guide/quickstart.html
modules/modules_by_category.html
modules/list_of_all_modules.html)
options[:skip_patterns] = [
/\Acommunity.*/i,
/\Adev_guide.*/i,
/\Aroadmap.*/i,
]
end end
version '2.4' do version '2.4' do
@ -86,6 +61,7 @@ module Docs
tower.html tower.html
quickstart.html quickstart.html
list_of_all_modules.html) list_of_all_modules.html)
options[:skip_patterns] = []
end end
def get_latest_version(opts) def get_latest_version(opts)

Loading…
Cancel
Save