瀏覽代碼

Update scikit-learn documentation (1.1.3)

Fixes #1864.
Simon Legner 3 年之前
父節點
當前提交
ad995786d9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/docs/filters/sphinx/clean_html.rb

+ 1 - 0
lib/docs/filters/sphinx/clean_html.rb

@@ -61,6 +61,7 @@ module Docs
           next if current_url.host == 'matplotlib.org'
           next if current_url.host == 'numpy.org'
           next if current_url.host == 'requests.readthedocs.io'
+          next if current_url.host == 'scikit-learn.org'
           next unless node['id'] || node.at_css('code, .classifier')
           links = []
           links << node.children.last.remove while node.children.last.try(:name) == 'a'