Skip to content

Commit 7404fae

Browse files
authored
Merge pull request #2077 from freeCodeCamp/python
Update Python documentation (3.12.0)
2 parents 6a5a8a5 + 9290b58 commit 7404fae

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

lib/docs/scrapers/python.rb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,22 @@ class Python < FileScraper
2121
Licensed under the PSF License.
2222
HTML
2323

24+
version '3.12' do
25+
self.release = '3.12.0'
26+
self.base_url = "https://docs.python.org/#{self.version}/"
27+
28+
html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
29+
end
30+
2431
version '3.11' do
25-
self.release = '3.11.1'
32+
self.release = '3.11.5'
2633
self.base_url = "https://docs.python.org/#{self.version}/"
2734

2835
html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
2936
end
3037

3138
version '3.10' do
32-
self.release = '3.10.9'
39+
self.release = '3.10.13'
3340
self.base_url = "https://docs.python.org/#{self.version}/"
3441

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

0 commit comments

Comments
 (0)