Include full documentation (instead of library reference only). Fixes #696.
Showing the changes to lib/docs/scrapers/python.rb (1 of 3 files). Show all
Unified · Split
| @@ -7,22 +7,7 @@ module Docs · 6 unmodified lines | |||
| 7 | code: 'https://github.com/python/cpython' | 7 | code: 'https://github.com/python/cpython' |
| 8 | } | 8 | } |
| 9 | 9 | ||
| 10 | options[:only_patterns] = [ | 10 | options[:skip_patterns] = [/genindex/, /whatsnew/] |
| 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 | |||
| 26 | options[:skip] = %w( | 11 | options[:skip] = %w( |
| 27 | library/2to3.html | 12 | library/2to3.html |
| 28 | library/formatter.html | 13 | library/formatter.html |
| @@ -37,7 +22,7 @@ module Docs · 8 unmodified lines | |||
| 37 | HTML | 22 | HTML |
| 38 | 23 | ||
| 39 | version '3.10' do | 24 | version '3.10' do |
| 40 | self.release = '3.10.4' | 25 | self.release = '3.10.6' |
| 41 | self.base_url = "https://docs.python.org/#{self.version}/" | 26 | self.base_url = "https://docs.python.org/#{self.version}/" |
| 42 | 27 | ||
| 43 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' | 28 | html_filters.push 'python/entries_v3', 'sphinx/clean_html', 'python/clean_html' |