diff --git a/lib/docs/filters/ansible/clean_html.rb b/lib/docs/filters/ansible/clean_html.rb
index 9cef4740..190b6638 100644
--- a/lib/docs/filters/ansible/clean_html.rb
+++ b/lib/docs/filters/ansible/clean_html.rb
@@ -2,7 +2,7 @@ module Docs
class Ansible
class CleanHtmlFilter < Filter
def call
- @doc = at_css('#page-content')
+ @doc = at_css('.document')
css('font').each do |node|
node.before(node.children).remove
diff --git a/lib/docs/scrapers/ansible.rb b/lib/docs/scrapers/ansible.rb
index 2ebb42ce..6826b393 100644
--- a/lib/docs/scrapers/ansible.rb
+++ b/lib/docs/scrapers/ansible.rb
@@ -30,18 +30,23 @@ module Docs
/\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
- self.release = '2.8.3'
+ self.release = '2.8.7'
self.base_url = "https://docs.ansible.com/ansible/#{version}/"
end
version '2.7' do
- self.release = '2.7.12'
+ self.release = '2.7.15'
self.base_url = "https://docs.ansible.com/ansible/#{version}/"
end
version '2.6' do
- self.release = '2.6.18'
+ self.release = '2.6.20'
self.base_url = "https://docs.ansible.com/ansible/#{version}/"
end