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
def call
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

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

Loading…
Cancel
Save