[devdocsgjs/main: 756/1867] python: include library/asyncio
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 756/1867] python: include library/asyncio
- Date: Fri, 19 Nov 2021 23:47:27 +0000 (UTC)
commit 5ad7e013e39a1e190881ec5cd9d12336ac218f61
Author: Simon Legner <Simon Legner gmail com>
Date: Thu Aug 8 17:54:39 2019 +0200
python: include library/asyncio
lib/docs/filters/python/entries_v3.rb | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/lib/docs/filters/python/entries_v3.rb b/lib/docs/filters/python/entries_v3.rb
index 2bd06de2..3217ed13 100644
--- a/lib/docs/filters/python/entries_v3.rb
+++ b/lib/docs/filters/python/entries_v3.rb
@@ -27,6 +27,7 @@ module Docs
def get_type
return 'Logging' if slug.start_with? 'library/logging'
+ return 'Asynchronous I/O' if slug.start_with? 'library/asyncio'
type = at_css('.related a[accesskey="U"]').content
@@ -47,6 +48,7 @@ module Docs
end
def include_default_entry?
+ return true if slug == 'library/asyncio'
!at_css('.body > .section:only-child > .toctree-wrapper:last-child') && !type.in?(%w(Superseded))
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]