Update NumPy documentation (2.0.1)

pull/2307/head
Simon Legner 5 months ago
parent d31460e05a
commit 6d2c7f3ebe

@ -3,7 +3,7 @@ module Docs
class CleanHtmlFilter < Filter class CleanHtmlFilter < Filter
def call def call
css('.sphinx-bs.container.pb-4.docutils').remove if root_page? css('.sphinx-bs.container.pb-4.docutils').remove if root_page?
at_css('main > div > section', '#spc-section-body, main > div') at_css('.bd-article', 'main > div > section', '#spc-section-body, main > div')
end end
end end
end end

@ -22,10 +22,16 @@ module Docs
] ]
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2005&ndash;2022 NumPy Developers<br> &copy; 2005&ndash;2024 NumPy Developers<br>
Licensed under the 3-clause BSD License. Licensed under the 3-clause BSD License.
HTML HTML
version '2.0' do
self.release = '2.0.1'
self.base_url = "https://numpy.org/doc/#{self.version}/"
options[:container] = nil
end
version '1.23' do version '1.23' do
self.release = '1.23.0' self.release = '1.23.0'
self.base_url = "https://numpy.org/doc/#{self.version}/" self.base_url = "https://numpy.org/doc/#{self.version}/"

Loading…
Cancel
Save