Update Ansible documentation (2.11.0)

pull/1541/head
Simon Legner 4 years ago
parent 609191bcc1
commit 206f915f89

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

@ -28,7 +28,7 @@ module Docs
end
end
if version == "2.10"
if version >= "2.10"
if slug =~ /\Acollections\//
return "Collection #{slug.split('/')[1..-2].join(".")}"
end

@ -11,7 +11,7 @@ module Docs
options[:attribution] = <<-HTML
&copy; 2012&ndash;2018 Michael DeHaan<br>
&copy; 2018&ndash;2019 Red Hat, Inc.<br>
&copy; 2018&ndash;2021 Red Hat, Inc.<br>
Licensed under the GNU General Public License version 3.
HTML
@ -32,6 +32,11 @@ module Docs
/\Aroadmap.*/i,
]
version '2.11' do
self.release = '2.11.0'
self.base_url = "https://docs.ansible.com/ansible/#{version}/"
end
version '2.10' do
self.release = '2.10.5'
self.base_url = "https://docs.ansible.com/ansible/#{version}/"

Loading…
Cancel
Save