473,403 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Proposal: an unchanging URL for Python documentation

posted on: comp.lang.python
emailed to: do**@python.org

I have a suggestion/request that will, I think, improve the Python
documentation.

Currently, the Python documentation in HTML format is stored at URLs
that change with each new release of Python. That is, for example, the
documentation for the os module is at
http://python.org/doc/2.3/lib/module-os.html for release 2.3 of Python,
at http://python.org/doc/2.4/lib/module-os.html for release 2.4 and so
on.

I propose that an additional a URL be set up for the Python HTML
documentation. This URL will always contain the current version of the
documentation. Suppose we call it "current". Then (while 2.4 is still
the current version) the documentation for the os module would also be
available at
http://python.org/doc/current/lib/module-os.html.

There are three advantages to this proposal.

(1) It is cheap and easy to do.

(2) If a person regularly refers to the documentation for the os
module, he can bookmark
http://python.org/doc/current/lib/module-os.html and always be sure of
getting the most current version.

(3) This would give Pythonistas -- basically as a freebie --
annotatable documentation. You may be familiar with Wikalong (
http://www.wikalong.org/ ). Wikalong basically allows you to annotate
any URL. If we had a "current" URL for Python documentation, people
could add Wikalong notes to the current documentation without worrying
that the annotations would not survive the release of the next version
of Python. Being able to use Wikalong would provide the Python
community with the opportunity to experiment with annotatable documents
(not to mention, ride the leading edge of the Wikalong wave). And
those who dislike annotated documentation can easily ignore it or turn
it off the Wikalong sidebar (assuming that they have Wikalong installed
in the first place).

-- Steve Ferg

Jul 19 '05 #1
11 1937

steve> I propose that an additional a URL be set up for the Python HTML
steve> documentation. This URL will always contain the current version
steve> of the documentation. Suppose we call it "current". Then (while
steve> 2.4 is still the current version) the documentation for the os
steve> module would also be available at
steve> http://python.org/doc/current/lib/module-os.html.

Time machine at work? The above URL works for me now.

steve> (3) This would give Pythonistas -- basically as a freebie --
steve> annotatable documentation. You may be familiar with Wikalong (
steve> http://www.wikalong.org/ ). Wikalong basically allows you to
steve> annotate any URL.

But appears to be firefox-specific.

Skip
Jul 19 '05 #2
[Steve]
I have a suggestion/request that will, I think, improve the Python
documentation.

Currently, the Python documentation in HTML format is stored at URLs
that change with each new release of Python. That is, for example, the
documentation for the os module is at
http://python.org/doc/2.3/lib/module-os.html for release 2.3 of Python,
at http://python.org/doc/2.4/lib/module-os.html for release 2.4 and so
on.
Have you tried <http://docs.python.org>?
I propose that an additional a URL be set up for the Python HTML
documentation. This URL will always contain the current version of the
documentation. Suppose we call it "current". Then (while 2.4 is still
the current version) the documentation for the os module would also be
available at
http://python.org/doc/current/lib/module-os.html.
Try

http://docs.python.org/lib/module-os.html
There are three advantages to this proposal.

(1) It is cheap and easy to do.

(2) If a person regularly refers to the documentation for the os
module, he can bookmark
http://python.org/doc/current/lib/module-os.html and always be sure of
getting the most current version.

(3) This would give Pythonistas -- basically as a freebie --
annotatable documentation. You may be familiar with Wikalong (
http://www.wikalong.org/ ). Wikalong basically allows you to annotate
any URL. If we had a "current" URL for Python documentation, people
could add Wikalong notes to the current documentation without worrying
that the annotations would not survive the release of the next version
of Python. Being able to use Wikalong would provide the Python
community with the opportunity to experiment with annotatable documents
(not to mention, ride the leading edge of the Wikalong wave). And
those who dislike annotated documentation can easily ignore it or turn
it off the Wikalong sidebar (assuming that they have Wikalong installed
in the first place).


Con: It's already there, and TOOWTDI <wink>.
Jul 19 '05 #3
Skip Montanaro wrote:
steve> I propose that an additional a URL be set up for the Python HTML
steve> documentation. This URL will always contain the current version
steve> of the documentation. Suppose we call it "current". Then (while
steve> 2.4 is still the current version) the documentation for the os
steve> module would also be available at
steve> http://python.org/doc/current/lib/module-os.html.

Time machine at work? The above URL works for me now.
....
But appears to be firefox-specific.

Skip


Works for me with both Firefox and IE6 under WinXP

Michael

Jul 19 '05 #4

Skip> But appears to be firefox-specific.

Michael> Works for me with both Firefox and IE6 under WinXP

The wikalong.org thing is firefox-specific. You trimmed too much from my
reply.

Skip
Jul 19 '05 #5
"Steve" <st***@ferg.org> wrote:
I propose that an additional a URL be set up for the Python HTML
documentation. This URL will always contain the current version of the
documentation. Suppose we call it "current". Then (while 2.4 is still
the current version) the documentation for the os module would also be
available at
http://python.org/doc/current/lib/module-os.html.


did you check that link before you posted it?

</F>

Jul 19 '05 #6
Fredrik Lundh wrote:
did you check that link before you posted it?


Works here. Your browser is probably concluding the trailing . is part
of the URL, rather than sentence punctuation :-).

--
Erik Max Francis && ma*@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
Dear World: I am leaving because I am bored.
-- George Sanders (in his suicide note)
Jul 19 '05 #7
Erik Max Francis wrote:
Fredrik Lundh wrote:
did you check that link before you posted it?

Works here. Your browser is probably concluding the trailing . is part
of the URL, rather than sentence punctuation :-).


No, Fredrik knows that it works. The OP seemed to be under the
impression that it didn't (and was posting to propose that it should
exist and behave as it actually does).

--
Robert Kern
rk***@ucsd.edu

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter

Jul 19 '05 #8
I stand corrected. Not only does what I wanted already exist, it seems
to exist in TWO places. For the module index, for instance, there is

http://docs.python.org/modindex.html

and there also is

http://python.org/doc/current/modindex.html

Anybody know why there are two different URLs?

Which one should be considered the "official" current documentation
URL? (REASON: A person wanting to Wikalong annotate the "official"
current documentation URL would want to know which one to annotate.)

Jul 19 '05 #9
In article <11**********************@z14g2000cwz.googlegroups .com>,
Steve <st***@ferg.org> wrote:

http://docs.python.org/modindex.html

and there also is

http://python.org/doc/current/modindex.html

Anybody know why there are two different URLs?

Which one should be considered the "official" current documentation
URL? (REASON: A person wanting to Wikalong annotate the "official"
current documentation URL would want to know which one to annotate.)


I'd consider the official URL to be

http://www.python.org/doc/current/modindex.html

The primary reason for creating docs.python.org was to make Google
searches easier. I believe the eventual intent is to make that the
official URL, but there were some glitches in setting it up and I'm not
sure whether they've been completely ironed out.
--
Aahz (aa**@pythoncraft.com) <*> http://www.pythoncraft.com/

"The joy of coding Python should be in seeing short, concise, readable
classes that express a lot of action in a small amount of clear code --
not in reams of trivial code that bores the reader to death." --GvR
Jul 19 '05 #10
On 4/19/05, Skip Montanaro <sk**@pobox.com> wrote:
... the documentation for the os
steve> module would also be available at
steve> http://python.org/doc/current/lib/module-os.html.

Time machine at work? The above URL works for me now.


Yup, but it's not all unchanging. Take, for example,
<http://www.python.org/doc/current/tut/node16.html>. I have wanted to
steer people towards that page a number of times, and that node number
keeps changing.

--
Cheers,
Simon B,
si***@brunningonline.net,
http://www.brunningonline.net/simon/blog/
Jul 19 '05 #11

Simon Brunning wrote:

Yup, but it's not all unchanging. Take, for example,
<http://www.python.org/doc/current/tut/node16.html>. I have wanted to
steer people towards that page a number of times, and that node number keeps changing.


Here's the code I've been using to translate the latex2html links
(including embedded anchors) to something that has some context. I can
lookup links via something that is understandable like
('os','path','exists'). A truly adventurous person could probably use
this to write a redirector.

http://pyxr.sourceforge.net/PyXR/c/p...rawler.py.html

Jul 19 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Marco Aschwanden | last post by:
Here is yet another decorator proposal: def sumSequencesLengths(var1, var2): """Computes something very important. __decorators__: staticmethod __parameters__: var1=Sequences var2=Sequences
2
by: Guido van Rossum | last post by:
Robert and Python-dev, I've read the J2 proposal up and down several times, pondered all the issues, and slept on it for a night, and I still don't like it enough to accept it. The only reason...
21
by: Mike Meyer | last post by:
PEP: XXX Title: A rational number module for Python Version: $Revision: 1.4 $ Last-Modified: $Date: 2003/09/22 04:51:50 $ Author: Mike Meyer <mwm@mired.org> Status: Draft Type: Staqndards...
15
by: Ralf W. Grosse-Kunstleve | last post by:
****************************************************************************** This posting is also available in HTML format: http://cci.lbl.gov/~rwgk/python/adopt_init_args_2005_07_02.html...
8
by: Micah Elliott | last post by:
I also have this living as a wiki <http://tracos.org/codetag/wiki/Pep> if people would like to add comments there. I might try to capture there feedback from this group anyway. First try at a PEP...
47
by: Pierre Barbier de Reuille | last post by:
Please, note that I am entirely open for every points on this proposal (which I do not dare yet to call PEP). Abstract ======== This proposal suggests to add symbols into Python. Symbols...
9
by: corey.coughlin | last post by:
Alright, so I've been following some of the arguments about enhancing parallelism in python, and I've kind of been struck by how hard things still are. It seems like what we really need is a more...
14
by: cody | last post by:
I got a similar idea a couple of months ago, but now this one will require no change to the clr, is relatively easy to implement and would be a great addition to C# 3.0 :) so here we go.. To...
56
by: Adem | last post by:
C/C++ language proposal: Change the 'case expression' from "integral constant-expression" to "integral expression" The C++ Standard (ISO/IEC 14882, Second edition, 2003-10-15) says under...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.