diff --git a/lib/docs/filters/ansible/clean_html.rb b/lib/docs/filters/ansible/clean_html.rb index df4370d7..27054785 100644 --- a/lib/docs/filters/ansible/clean_html.rb +++ b/lib/docs/filters/ansible/clean_html.rb @@ -8,7 +8,14 @@ module Docs node.before(node.children).remove end + css('.documentation-table').each do |node| + node.css('[style]').each do |subnode| + subnode.remove_attribute('style') + end + end + doc + end end end diff --git a/lib/docs/scrapers/ansible.rb b/lib/docs/scrapers/ansible.rb index 314da78f..9d9fab64 100644 --- a/lib/docs/scrapers/ansible.rb +++ b/lib/docs/scrapers/ansible.rb @@ -22,7 +22,9 @@ module Docs reference_appendices/tower.html user_guide/quickstart.html modules/modules_by_category.html - modules/list_of_all_modules.html) + modules/list_of_all_modules.html + collections/all_plugins.html + collections/index_vars.html) options[:skip_patterns] = [ /\Acommunity.*/i, @@ -31,7 +33,7 @@ module Docs ] version '2.10' do - self.release = '2.10.3' + self.release = '2.10.5' self.base_url = "https://docs.ansible.com/ansible/#{version}/" end