Merge pull request #1042 from simon04/ansible-2.8

ansible: add version 2.8
pull/982/head
Jasper van Merle 6 years ago
commit 85d591e4a7

@ -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,72 +11,47 @@ 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
version '2.7' do options[:skip] = %w(
self.release = '2.7.1' installation_guide/index.html
self.base_url = 'https://docs.ansible.com/ansible/2.7/' 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] = %w( options[:skip_patterns] = [
installation_guide/index.html /\Acommunity.*/i,
reference_appendices/glossary.html /\Adev_guide.*/i,
reference_appendices/faq.html /\Aroadmap.*/i,
reference_appendices/tower.html ]
user_guide/quickstart.html
modules/modules_by_category.html
modules/list_of_all_modules.html)
options[:skip_patterns] = [ version '2.8' do
/\Acommunity.*/i, self.release = '2.8.3'
/\Adev_guide.*/i, self.base_url = 'https://docs.ansible.com/ansible/2.7/'
/\Aroadmap.*/i, end
]
version '2.7' do
self.release = '2.7.12'
self.base_url = 'https://docs.ansible.com/ansible/2.7/'
end end
version '2.6' do version '2.6' do
self.release = '2.6.7' self.release = '2.6.18'
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.15'
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
self.release = '2.4.3' self.release = '2.4.6'
self.base_url = 'https://docs.ansible.com/ansible/2.4/' self.base_url = 'https://docs.ansible.com/ansible/2.4/'
options[:skip] = %w( options[:skip] = %w(
@ -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