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/filters/python (2 of 3 files). Show all

Unified · Split

2 files
  1. lib/docs/filters/python/clean_html.rb +1 −1
  2. lib/docs/filters/python/entries_v3.rb +2 −0
lib/docs/filters/python/clean_html.rb+1−1
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
22 class Python
33 class CleanHtmlFilter < Filter
44 def call
5− @doc = at_css '.body'
5+ @doc = at_css('.body > section[id]') || at_css('.body')
66
77 root_page? ? root : other
88
lib/docs/filters/python/entries_v3.rb+2−0
@@ -29,6 +29,8 @@ module Docs · 28 unmodified lines
2929 return 'Language Reference' if slug.start_with? 'reference'
3030 return 'Python/C API' if slug.start_with? 'c-api'
3131 return 'Tutorial' if slug.start_with? 'tutorial'
32+ return 'Distributing' if slug.start_with? 'distributing'
33+ return 'Distributing' if slug.start_with? 'distutils'
3234
3335 return 'Basics' unless slug.start_with? 'library/'
3436 return 'Basics' if slug.start_with? 'library/index'