From b36a0b51b95ce60b1b150c9223b77bf850e5f190 Mon Sep 17 00:00:00 2001 From: ClasherKasten <cfb1470@gmail.com> Date: Wed, 26 Oct 2022 12:49:29 +0200 Subject: [PATCH 1/2] Update versions of currently supported python versions --- lib/docs/scrapers/python.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/docs/scrapers/python.rb b/lib/docs/scrapers/python.rb index 275e7379..e3617e90 100644 --- a/lib/docs/scrapers/python.rb +++ b/lib/docs/scrapers/python.rb @@ -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' From 15a05a0db4372e9ee8ffc3972172606d142208d8 Mon Sep 17 00:00:00 2001 From: Simon Legner <Simon.Legner@gmail.com> Date: Thu, 27 Oct 2022 16:49:30 +0200 Subject: [PATCH 2/2] =?UTF-8?q?python:=20fix=20=C2=B6=20in=20glossary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/docs/filters/python/entries_v3.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/docs/filters/python/entries_v3.rb b/lib/docs/filters/python/entries_v3.rb index 2db966d6..2ab19462 100644 --- a/lib/docs/filters/python/entries_v3.rb +++ b/lib/docs/filters/python/entries_v3.rb @@ -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|