From c1e78ae9a89528b083c767317282118667c11fa0 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 29 Oct 2017 15:01:45 -0400 Subject: [PATCH] Update scikit-learn documentation (0.19.1) --- lib/docs/filters/scikit_learn/entries.rb | 1 + lib/docs/scrapers/scikit_learn.rb | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/docs/filters/scikit_learn/entries.rb b/lib/docs/filters/scikit_learn/entries.rb index bef8a77b..9bb2f1c9 100644 --- a/lib/docs/filters/scikit_learn/entries.rb +++ b/lib/docs/filters/scikit_learn/entries.rb @@ -27,6 +27,7 @@ module Docs type = at_css('dt > .descclassname').content.strip type.remove! 'sklearn.' type.remove! %r{\.\z} + type = 'sklearn' if type.blank? type elsif subpath.start_with?('tutorial') 'Tutorials' diff --git a/lib/docs/scrapers/scikit_learn.rb b/lib/docs/scrapers/scikit_learn.rb index b6e0bca3..01b89e3b 100644 --- a/lib/docs/scrapers/scikit_learn.rb +++ b/lib/docs/scrapers/scikit_learn.rb @@ -3,9 +3,10 @@ module Docs self.name = 'scikit-learn' self.slug = 'scikit_learn' self.type = 'sphinx' - self.release = '0.19' + self.release = '0.19.1' self.base_url = 'http://scikit-learn.org/stable/' self.root_path = 'documentation.html' + self.force_gzip = true self.links = { home: 'http://scikit-learn.org/', code: 'https://github.com/scikit-learn/scikit-learn'