Update scikit-learn documentation (1.1.3)
Showing the changes to lib/docs (2 of 3 files). Show all
Unified · Split
| @@ -16,6 +16,10 @@ module Docs · 15 unmodified lines | ||
| 16 | 16 | end |
| 17 | 17 | end |
| 18 | 18 | |
| 19 | + # Most often comes with a link with the same text so we're removing | |
| 20 | + # these. | |
| 21 | + css('.sphx-glr-thumbnail-title').each do |node| node.remove end | |
| 22 | + | |
| 19 | 23 | css('.sphx-glr-signature').remove |
| 20 | 24 | |
| 21 | 25 | doc |
| @@ -3,8 +3,8 @@ module Docs · 2 unmodified lines | ||
| 3 | 3 | self.name = 'scikit-learn' |
| 4 | 4 | self.slug = 'scikit_learn' |
| 5 | 5 | self.type = 'sphinx' |
| 6 | − self.release = '0.24.1' | |
| 7 | − self.base_url = 'https://scikit-learn.org/0.24/' | |
| 6 | + self.release = '1.1.3' | |
| 7 | + self.base_url = "https://scikit-learn.org/1.1/" | |
| 8 | 8 | self.root_path = 'index.html' |
| 9 | 9 | self.force_gzip = true |
| 10 | 10 | self.links = { |
| @@ -14,7 +14,7 @@ module Docs · 3 unmodified lines | ||
| 14 | 14 | |
| 15 | 15 | html_filters.push 'scikit_learn/entries', 'scikit_learn/clean_html', 'sphinx/clean_html', 'title' |
| 16 | 16 | |
| 17 | − options[:container] = ->(filter) { filter.root_page? ? 'body > .container' : '.section' } | |
| 17 | + options[:container] = ->(filter) { filter.root_page? ? 'body > .container' : '#sk-page-content-wrapper > .body' } | |
| 18 | 18 | options[:skip] = %w(modules/generated/sklearn.experimental.enable_iterative_imputer.html |
| 19 | 19 | modules/generated/sklearn.experimental.enable_hist_gradient_boosting.html) |
| 20 | 20 | options[:only_patterns] = [/\Amodules/, /\Adatasets/, /\Atutorial/, /\Aauto_examples/] |
| @@ -24,7 +24,7 @@ module Docs · 3 unmodified lines | ||
| 24 | 24 | options[:max_image_size] = 256_000 |
| 25 | 25 | |
| 26 | 26 | options[:attribution] = <<-HTML |
| 27 | − © 2007–2020 The scikit-learn developers<br> | |
| 27 | + © 2007–2022 The scikit-learn developers<br> | |
| 28 | 28 | Licensed under the 3-clause BSD License. |
| 29 | 29 | HTML |
| 30 | 30 | |