History

Update Python documentation (3.10.6)

Include full documentation (instead of library reference only). Fixes #696.

Simon Legner committed 4 years ago

Commit ebe281a1 parent 750ab2e3 files · +5 −18Browse files

Showing the changes to lib/docs/scrapers/python.rb (1 of 3 files). Show all

Unified · Split

lib/docs/scrapers/python.rb+2−17
@@ -7,22 +7,7 @@ module Docs · 6 unmodified lines
77 code: 'https://github.com/python/cpython'
88 }
99
10− options[:only_patterns] = [
11− # /\Ac-api/,
12− /\Adistributing/,
13− # /\Adistutils/,
14− /\Aextending/,
15− /\Afaq/,
16− /\Ahowto/,
17− /\Aindex.html/,
18− # /\Ainstall/,
19− /\Ainstalling/,
20− /\Alibrary/,
21− /\Areference/,
22− /\Atutorial/,
23− /\Ausing/,
24− ]
25−
10+ options[:skip_patterns] = [/genindex/, /whatsnew/]
2611 options[:skip] = %w(
2712 library/2to3.html
2813 library/formatter.html
@@ -37,7 +22,7 @@ module Docs · 8 unmodified lines
3722 HTML
3823
3924 version '3.10' do
40− self.release = '3.10.4'
25+ self.release = '3.10.6'
4126 self.base_url = "https://docs.python.org/#{self.version}/"
4227
4328 html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html'

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t