From 8e4bc28facabba58d83686a400246f6f317b42d1 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 4 Nov 2018 10:06:48 -0500 Subject: [PATCH] Update Ansible documentation (2.7.1) --- lib/docs/scrapers/ansible.rb | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/lib/docs/scrapers/ansible.rb b/lib/docs/scrapers/ansible.rb index 6292b83c..2d62909a 100644 --- a/lib/docs/scrapers/ansible.rb +++ b/lib/docs/scrapers/ansible.rb @@ -15,8 +15,28 @@ module Docs Licensed under the GNU General Public License version 3. HTML + version '2.7' do + self.release = '2.7.1' + self.base_url = 'https://docs.ansible.com/ansible/2.7/' + + options[:skip] = %w( + installation_guide/index.html + reference_appendices/glossary.html + reference_appendices/faq.html + reference_appendices/tower.html + user_guide/quickstart.html + modules/modules_by_category.html + modules/list_of_all_modules.html) + + options[:skip_patterns] = [ + /\Acommunity.*/i, + /\Adev_guide.*/i, + /\Aroadmap.*/i, + ] + end + version '2.6' do - self.release = '2.6.1' + self.release = '2.6.7' self.base_url = 'https://docs.ansible.com/ansible/2.6/' options[:skip] = %w(