mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update scikit-learn documentation (1.1.3)
This commit is contained in:
parent
ae4e5bea91
commit
e40a6ae450
3 changed files with 9 additions and 5 deletions
|
@ -847,7 +847,7 @@ credits = [
|
|||
'https://scikit-image.org/docs/dev/license.html'
|
||||
], [
|
||||
'scikit-learn',
|
||||
'2007-2020 The scikit-learn developers',
|
||||
'2007-2022 The scikit-learn developers',
|
||||
'BSD',
|
||||
'https://raw.githubusercontent.com/scikit-learn/scikit-learn/master/COPYING'
|
||||
], [
|
||||
|
|
|
@ -16,6 +16,10 @@ module Docs
|
|||
end
|
||||
end
|
||||
|
||||
# Most often comes with a link with the same text so we're removing
|
||||
# these.
|
||||
css('.sphx-glr-thumbnail-title').each do |node| node.remove end
|
||||
|
||||
css('.sphx-glr-signature').remove
|
||||
|
||||
doc
|
||||
|
|
|
@ -3,8 +3,8 @@ module Docs
|
|||
self.name = 'scikit-learn'
|
||||
self.slug = 'scikit_learn'
|
||||
self.type = 'sphinx'
|
||||
self.release = '0.24.1'
|
||||
self.base_url = 'https://scikit-learn.org/0.24/'
|
||||
self.release = '1.1.3'
|
||||
self.base_url = "https://scikit-learn.org/1.1/"
|
||||
self.root_path = 'index.html'
|
||||
self.force_gzip = true
|
||||
self.links = {
|
||||
|
@ -14,7 +14,7 @@ module Docs
|
|||
|
||||
html_filters.push 'scikit_learn/entries', 'scikit_learn/clean_html', 'sphinx/clean_html', 'title'
|
||||
|
||||
options[:container] = ->(filter) { filter.root_page? ? 'body > .container' : '.section' }
|
||||
options[:container] = ->(filter) { filter.root_page? ? 'body > .container' : '#sk-page-content-wrapper > .body' }
|
||||
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/]
|
||||
|
@ -24,7 +24,7 @@ module Docs
|
|||
options[:max_image_size] = 256_000
|
||||
|
||||
options[:attribution] = <<-HTML
|
||||
© 2007–2020 The scikit-learn developers<br>
|
||||
© 2007–2022 The scikit-learn developers<br>
|
||||
Licensed under the 3-clause BSD License.
|
||||
HTML
|
||||
|
||||
|
|
Loading…
Reference in a new issue