Skip to content

Commit 0264da8

Browse files
committed
Merge pull request #1047 from simon04/python-asyncio
python: include library/asyncio
2 parents 4bdf552 + 5ad7e01 commit 0264da8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/docs/filters/python/entries_v3.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def get_name
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 @@ def get_type
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

0 commit comments

Comments
 (0)