ansible: add version 2.9

pull/1137/head
Simon Legner 5 years ago
parent 58c44bf332
commit 01ff3f1fb2

@ -2,7 +2,7 @@ module Docs
class Ansible class Ansible
class CleanHtmlFilter < Filter class CleanHtmlFilter < Filter
def call def call
@doc = at_css('#page-content') @doc = at_css('.document')
css('font').each do |node| css('font').each do |node|
node.before(node.children).remove node.before(node.children).remove

@ -30,18 +30,23 @@ module Docs
/\Aroadmap.*/i, /\Aroadmap.*/i,
] ]
version '2.9' do
self.release = '2.9.1'
self.base_url = "https://docs.ansible.com/ansible/#{version}/"
end
version '2.8' do version '2.8' do
self.release = '2.8.3' self.release = '2.8.7'
self.base_url = "https://docs.ansible.com/ansible/#{version}/" self.base_url = "https://docs.ansible.com/ansible/#{version}/"
end end
version '2.7' do version '2.7' do
self.release = '2.7.12' self.release = '2.7.15'
self.base_url = "https://docs.ansible.com/ansible/#{version}/" self.base_url = "https://docs.ansible.com/ansible/#{version}/"
end end
version '2.6' do version '2.6' do
self.release = '2.6.18' self.release = '2.6.20'
self.base_url = "https://docs.ansible.com/ansible/#{version}/" self.base_url = "https://docs.ansible.com/ansible/#{version}/"
end end

Loading…
Cancel
Save