| @@ -3,25 +3,28 @@ module Docs · 2 unmodified lines |
| 3 | self.name = 'scikit-learn' | 3 | self.name = 'scikit-learn' |
| 4 | self.slug = 'scikit_learn' | 4 | self.slug = 'scikit_learn' |
| 5 | self.type = 'sphinx' | 5 | self.type = 'sphinx' |
| 6 | self.release = '0.20.0' | 6 | self.release = '0.23.2' |
| 7 | self.base_url = 'http://scikit-learn.org/stable/' | 7 | self.base_url = 'https://scikit-learn.org/0.23/' |
| 8 | self.root_path = 'documentation.html' | 8 | self.root_path = 'index.html' |
| 9 | self.force_gzip = true | 9 | self.force_gzip = true |
| 10 | self.links = { | 10 | self.links = { |
| 11 | home: 'http://scikit-learn.org/', | 11 | home: 'https://scikit-learn.org/', |
| 12 | code: 'https://github.com/scikit-learn/scikit-learn' | 12 | code: 'https://github.com/scikit-learn/scikit-learn' |
| 13 | } | 13 | } |
| 14 | | 14 | |
| 15 | html_filters.push 'scikit_learn/entries', 'scikit_learn/clean_html', 'sphinx/clean_html' | 15 | html_filters.push 'scikit_learn/entries', 'scikit_learn/clean_html', 'sphinx/clean_html', 'title' |
| 16 | | 16 | |
| 17 | options[:container] = ->(filter) { filter.root_page? ? '.container-index' : '.body' } | 17 | options[:container] = ->(filter) { filter.root_page? ? 'body > .container' : '.section' } |
| 18 | options[:skip] = %w(tutorial/statistical_inference/finding_help.html) | 18 | options[:skip] = %w(modules/generated/sklearn.experimental.enable_iterative_imputer.html |
| | 19 | modules/generated/sklearn.experimental.enable_hist_gradient_boosting.html) |
| 19 | options[:only_patterns] = [/\Amodules/, /\Adatasets/, /\Atutorial/, /\Aauto_examples/] | 20 | options[:only_patterns] = [/\Amodules/, /\Adatasets/, /\Atutorial/, /\Aauto_examples/] |
| 20 | options[:skip_patterns] = [/\Adatasets\/(?!index)/] | 21 | options[:skip_patterns] = [/\Adatasets\/(?!index)/] |
| | 22 | options[:title] = false |
| | 23 | options[:root_title] = 'scikit-learn' |
| 21 | options[:max_image_size] = 256_000 | 24 | options[:max_image_size] = 256_000 |
| 22 | | 25 | |
| 23 | options[:attribution] = <<-HTML | 26 | options[:attribution] = <<-HTML |
| 24 | © 2007–2018 The scikit-learn developers<br> | 27 | © 2007–2020 The scikit-learn developers<br> |
| 25 | Licensed under the 3-clause BSD License. | 28 | Licensed under the 3-clause BSD License. |
| 26 | HTML | 29 | HTML |
| 27 | | 30 | |