Skip to content

Commit fd4682c

Browse files
committed
Update Python documentation (3.13.2)
1 parent 1e7039d commit fd4682c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/docs/filters/sphinx/clean_html.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def call
2424
lang = 'php' if lang == 'ci'|| lang == 'html+php'
2525
lang = 'markup' if lang == 'html+django'
2626
lang = 'bash' if lang == 'bash'
27-
lang = 'python' if lang == 'default' || lang.start_with?('python') || lang.start_with?('ipython')
27+
lang = 'python' if lang == 'default' || lang == 'pycon' || lang.start_with?('python') || lang.start_with?('ipython')
2828
pre['data-language'] = lang
2929
node.replace(pre)
3030
end

lib/docs/scrapers/python.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,26 @@ class Python < UrlScraper
2323
library/sunau.html)
2424

2525
options[:attribution] = <<-HTML
26-
&copy; 2001&ndash;2024 Python Software Foundation<br>
26+
&copy; 2001&ndash;2025 Python Software Foundation<br>
2727
Licensed under the PSF License.
2828
HTML
2929

3030
version '3.13' do
31-
self.release = '3.13.1'
31+
self.release = '3.13.2'
3232
self.base_url = "https://docs.python.org/#{self.version}/"
3333

3434
html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
3535
end
3636

3737
version '3.12' do
38-
self.release = '3.12.5'
38+
self.release = '3.12.9'
3939
self.base_url = "https://docs.python.org/#{self.version}/"
4040

4141
html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
4242
end
4343

4444
version '3.11' do
45-
self.release = '3.11.7'
45+
self.release = '3.11.11'
4646
self.base_url = "https://docs.python.org/#{self.version}/"
4747

4848
html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'

0 commit comments

Comments
 (0)