Merge pull request #1137 from simon04/ansible-2.9

ansible: add version 2.9
sphinx-allow-dt-styles
Jed Fox 5 years ago
commit e7b4f8eb9d

@ -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