Update Python documentation (3.12.4)
Some checks failed
Deploy / Deploy to Heroku (push) Has been cancelled

This commit is contained in:
Simon Legner 2024-07-24 23:57:30 +02:00
parent 9970b46fe2
commit 7d24d973e4

View file

@ -1,5 +1,5 @@
module Docs
class Python < FileScraper
class Python < UrlScraper
self.type = 'python'
self.root_path = 'index.html'
self.links = {
@ -23,12 +23,12 @@ module Docs
library/sunau.html)
options[:attribution] = <<-HTML
&copy; 2001&ndash;2023 Python Software Foundation<br>
&copy; 2001&ndash;2024 Python Software Foundation<br>
Licensed under the PSF License.
HTML
version '3.12' do
self.release = '3.12.1'
self.release = '3.12.4'
self.base_url = "https://docs.python.org/#{self.version}/"
html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'