Merge pull request #1851 from ClasherKasten/update-python-versions

Update versions of currently supported python versions
pull/1855/head
Simon Legner 2 years ago committed by GitHub
commit 5a420f1fc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -78,7 +78,8 @@ module Docs
end
css('.glossary > dt[id]').each do |node|
entries << [node.content, node['id']]
name = node.content.remove("\u{00b6}")
entries << [name, node['id']]
end
css('.function > dt[id]', '.method > dt[id]', '.staticmethod > dt[id]', '.classmethod > dt[id]').each do |node|

@ -22,35 +22,35 @@ module Docs
HTML
version '3.11' do
self.release = '3.11.0rc2'
self.release = '3.11.0'
self.base_url = "https://docs.python.org/#{self.version}/"
html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
end
version '3.10' do
self.release = '3.10.7'
self.release = '3.10.8'
self.base_url = "https://docs.python.org/#{self.version}/"
html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
end
version '3.9' do
self.release = '3.9.4'
self.release = '3.9.14'
self.base_url = 'https://docs.python.org/3.9/'
html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
end
version '3.8' do
self.release = '3.8.6'
self.release = '3.8.14'
self.base_url = 'https://docs.python.org/3.8/'
html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'
end
version '3.7' do
self.release = '3.7.9'
self.release = '3.7.14'
self.base_url = 'https://docs.python.org/3.7/'
html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'

Loading…
Cancel
Save