← 输入框|bugs.python.org|刷新

➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 alexchandel
收信人 alexchandel, docs@python
日期 2020-01-16.22:05:46
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1579212346.83.0.45042082539.issue39364@roundup.psfhosted.org>
In-reply-to
内容
By default, the docs.python.org page for a module does not list or tabulate the contents of that module. This makes it difficult to browse a module's functions or get a bird's-eye view.

For example, the logging module (https://docs.python.org/3/library/logging.html) has almost 70 functions, methods, and attributes. But it's impossible to scan them without scrolling the entire length of the entry (~18 pages of US letter). Compare to the browsability of itertools (https://docs.python.org/3/library/itertools.html), which manually tabulates its functions in the first section.

docs.python.org should automatically generate a TOC of the module's contents (classes, functions, etc) in the navigation sidebar, below the existing sidebar sections (perhaps in a collapsible section). Rust's documentation does this (example: https://doc.rust-lang.org/std/time/struct.Duration.html), and doc.rust-lang.org also effectively allows the entire page to function as a TOC by providing a "collapse page" button.
历史
日期 用户 动作 参数
2020-01-16 22:05:46alexchandel修改recipients: + alexchandel, docs@python
2020-01-16 22:05:46alexchandel修改messageid: <1579212346.83.0.45042082539.issue39364@roundup.psfhosted.org>
2020-01-16 22:05:46alexchandel链接issue39364 messages
2020-01-16 22:05:46alexchandel创建