|
|
@ -3,25 +3,28 @@ module Docs
|
|
|
|
self.name = 'scikit-learn'
|
|
|
|
self.name = 'scikit-learn'
|
|
|
|
self.slug = 'scikit_learn'
|
|
|
|
self.slug = 'scikit_learn'
|
|
|
|
self.type = 'sphinx'
|
|
|
|
self.type = 'sphinx'
|
|
|
|
self.release = '0.20.0'
|
|
|
|
self.release = '0.23.2'
|
|
|
|
self.base_url = 'http://scikit-learn.org/stable/'
|
|
|
|
self.base_url = 'https://scikit-learn.org/0.23/'
|
|
|
|
self.root_path = 'documentation.html'
|
|
|
|
self.root_path = 'index.html'
|
|
|
|
self.force_gzip = true
|
|
|
|
self.force_gzip = true
|
|
|
|
self.links = {
|
|
|
|
self.links = {
|
|
|
|
home: 'http://scikit-learn.org/',
|
|
|
|
home: 'https://scikit-learn.org/',
|
|
|
|
code: 'https://github.com/scikit-learn/scikit-learn'
|
|
|
|
code: 'https://github.com/scikit-learn/scikit-learn'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
html_filters.push 'scikit_learn/entries', 'scikit_learn/clean_html', 'sphinx/clean_html'
|
|
|
|
html_filters.push 'scikit_learn/entries', 'scikit_learn/clean_html', 'sphinx/clean_html', 'title'
|
|
|
|
|
|
|
|
|
|
|
|
options[:container] = ->(filter) { filter.root_page? ? '.container-index' : '.body' }
|
|
|
|
options[:container] = ->(filter) { filter.root_page? ? 'body > .container' : '.section' }
|
|
|
|
options[:skip] = %w(tutorial/statistical_inference/finding_help.html)
|
|
|
|
options[:skip] = %w(modules/generated/sklearn.experimental.enable_iterative_imputer.html
|
|
|
|
|
|
|
|
modules/generated/sklearn.experimental.enable_hist_gradient_boosting.html)
|
|
|
|
options[:only_patterns] = [/\Amodules/, /\Adatasets/, /\Atutorial/, /\Aauto_examples/]
|
|
|
|
options[:only_patterns] = [/\Amodules/, /\Adatasets/, /\Atutorial/, /\Aauto_examples/]
|
|
|
|
options[:skip_patterns] = [/\Adatasets\/(?!index)/]
|
|
|
|
options[:skip_patterns] = [/\Adatasets\/(?!index)/]
|
|
|
|
|
|
|
|
options[:title] = false
|
|
|
|
|
|
|
|
options[:root_title] = 'scikit-learn'
|
|
|
|
options[:max_image_size] = 256_000
|
|
|
|
options[:max_image_size] = 256_000
|
|
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2007–2018 The scikit-learn developers<br>
|
|
|
|
© 2007–2020 The scikit-learn developers<br>
|
|
|
|
Licensed under the 3-clause BSD License.
|
|
|
|
Licensed under the 3-clause BSD License.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
|
|