Message121440
On Wed, Nov 17, 2010 at 11:21 PM, Ron Adam <report@bugs.python.org> wrote:
..
> I noticed in your patch, the disclaimer only prints when pydoc can find a doc location (docloc is not None).
This is not a disclaimer, but an explanation of the relationship
between pydoc pages and the reference manual.
> So it may not get displayed at all depending on how python is installed.
docloc should not be None for standard library modules. This is a
separate issue.
> I also think having it on every page may be a bit overly cautious. (IMHO)
In text viewer you only see one page at a time. In HTML you may put
it on the index or start page.
docloc is None for 3rd party modules (pydocs checks for site-packages
component in path). The logic is not very robust, but that is a
separate issue.
That's fine.
No, these places are almost never seen. Also, one should not think of
this as a disclaimer, but as an explanation of why she is shown a link
to a reference page when full documentation is already displayed.
> It can still be defined in one location and then use "+ pydoc_disclaimer" in the desired locations.
Sure. Just don't call it "disclaimer". Maybe Doc.REFTEXT constant
next to Doc.PYTHONDOCS? |
|
Date |
User |
Action |
Args |
2010-11-18 05:25:14 | belopolsky | unlink | issue10446 messages |
2010-11-18 05:19:58 | belopolsky | set | recipients:
+ belopolsky, georg.brandl, ron_adam, eric.araujo, docs@python |
2010-11-18 05:19:57 | belopolsky | link | issue10446 messages |
2010-11-18 05:19:57 | belopolsky | create | |
|