History

python: include library/asyncio

Simon Legner committed 7 years ago

Commit 5ad7e011 parent eada92e1 file · +2 −0Browse files

Unified · Split

lib/docs/filters/python/entries_v3.rb+2−0
@@ -27,6 +27,7 @@ module Docs · 26 unmodified lines
2727
2828 def get_type
2929 return 'Logging' if slug.start_with? 'library/logging'
30+ return 'Asynchronous I/O' if slug.start_with? 'library/asyncio'
3031
3132 type = at_css('.related a[accesskey="U"]').content
3233
@@ -47,6 +48,7 @@ module Docs · 14 unmodified lines
4748 end
4849
4950 def include_default_entry?
51+ return true if slug == 'library/asyncio'
5052 !at_css('.body > .section:only-child > .toctree-wrapper:last-child') && !type.in?(%w(Superseded))
5153 end
5254