Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

docs.python.org pointing to Python 3 by default?

 

 

First page Previous page 1 2 Next page Last page  View All Python dev RSS feed   Index | Next | Previous | View Threaded


barry at python

May 18, 2012, 11:24 AM

Post #1 of 43 (348 views)
Permalink
docs.python.org pointing to Python 3 by default?

At what point should we cut over docs.python.org to point to the Python 3
documentation by default? Wouldn't this be an easy bit to flip in order to
promote Python 3 more better?

Cheers,
-Barry
Attachments: signature.asc (0.82 KB)


brian.curtin at gmail

May 18, 2012, 11:30 AM

Post #2 of 43 (345 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On May 18, 2012 1:26 PM, "Barry Warsaw" <barry [at] python> wrote:
>
> At what point should we cut over docs.python.org to point to the Python 3
> documentation by default?

Today sounds good to me.


benjamin at python

May 18, 2012, 11:36 AM

Post #3 of 43 (344 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

2012/5/18 Barry Warsaw <barry [at] python>:
> At what point should we cut over docs.python.org to point to the Python 3
> documentation by default?  Wouldn't this be an easy bit to flip in order to
> promote Python 3 more better?

Perhaps on the occasion on the release on Python 3.3?


--
Regards,
Benjamin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


hs at ox

May 18, 2012, 11:39 AM

Post #4 of 43 (347 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

Hi,

> At what point should we cut over docs.python.org to point to the
> Python 3 documentation by default? Wouldn't this be an easy bit to
> flip in order to promote Python 3 more better?

I’d vote for the release of 3.3 instead of a surprise change in the
middle of nowhere.

Cheers,
Hynek
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


barry at python

May 18, 2012, 12:05 PM

Post #5 of 43 (346 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On May 18, 2012, at 11:36 AM, Benjamin Peterson wrote:

>2012/5/18 Barry Warsaw <barry [at] python>:
>> At what point should we cut over docs.python.org to point to the Python 3
>> documentation by default?  Wouldn't this be an easy bit to flip in order to
>> promote Python 3 more better?
>
>Perhaps on the occasion on the release on Python 3.3?

Of course, I'm with Brian, JFDI. :)

But coordinating with the 3.3 release would also be nice advertisement.

-Barry
Attachments: signature.asc (0.82 KB)


tjreedy at udel

May 18, 2012, 2:15 PM

Post #6 of 43 (342 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On 5/18/2012 2:39 PM, Hynek Schlawack wrote:
> Hi,
>
>> At what point should we cut over docs.python.org to point to the
>> Python 3 documentation by default? Wouldn't this be an easy bit to
>> flip in order to promote Python 3 more better?
>
> I’d vote for the release of 3.3 instead of a surprise change in the
> middle of nowhere.

I would have done it with 3.2 and thought that was once agreed on. The
last 3.2.3 would also have been a good time, but today might seem odd,
so I would am willing to wait for 3.3 as long as it is not somehow
forgotten about ;-).

--
Terry Jan Reedy


_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


glyph at twistedmatrix

May 19, 2012, 11:43 AM

Post #7 of 43 (333 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On May 18, 2012, at 2:24 PM, Barry Warsaw wrote:

> At what point should we cut over docs.python.org to point to the Python 3
> documentation by default? Wouldn't this be an easy bit to flip in order to
> promote Python 3 more better?

I would like to suggest a less all-or-nothing approach. Just redirecting to Python 3 docs is going to create a lot of support headaches for people trying to help others learn Python.

Right now, e.g. <http://docs.python.org/tutorial/index.html> directly renders a page. I suggest that this be changed to a redirect to <http://docs.python.org/release/2.7/tutorial/index.html>. The fact that people can bookmark the "default" version of a document is kind of a bug.

The front page, <http://docs.python.org/> could then be changed into a "are you looking for documentation for Python 2 or Python 3?" page, with nice big click targets for each (an initial suggestion: half the page each, split down the middle, but the web design isn't really the important thing for me).

If you want to promote python 3 then putting "most recent version" links (for example, see <http://twistedmatrix.com/documents/10.2.0/api/twisted.internet.defer.inlineCallbacks.html>) across the top of all the old versions would be pretty visible.

-glyph

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

May 19, 2012, 1:48 PM

Post #8 of 43 (331 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

> I would like to suggest a less all-or-nothing approach. Just
> redirecting to Python 3 docs is going to create a lot of support
> headaches for people trying to help others learn Python.

I don't think this will be that bad. Most Python 3 documentation
pages apply to Python 2 as well. There may be features documented
that don't exist in Python 2, but it was always the case that
users of older Python versions had to watch for the
versionadded/versionchanged notices.

IMO, it would be good if each individual page had an "other
versions" section on left-hand block, or on the top along with
the "previous | next" links.

As for the amount of cross-linking, I suggest the following,
assuming 2.7 and 3.3 are the current releases:
1. 2.7 links to 2.6 and 3.3
2. 3.3 links to 3.2 and 2.7
3. all older versions link to "newest", i.e. 3.3.

I understand that this would require a custom mapping
in some cases. It would be best if Sphinx could already
consider such a mapping when generating links. Failing
that, we can also do the custom mapping in the web
server (i.e. with redirects).

Regards,
Martin


_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


rosuav at gmail

May 19, 2012, 4:38 PM

Post #9 of 43 (328 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On Sun, May 20, 2012 at 4:43 AM, Glyph <glyph [at] twistedmatrix> wrote:
> Right now, e.g. <http://docs.python.org/tutorial/index.html> directly renders a page.  I suggest that this be changed to a redirect to <http://docs.python.org/release/2.7/tutorial/index.html>.  The fact that people can bookmark the "default" version of a document is kind of a bug.

I'm -1 on that; unless there's a strong reason to avoid it,
bookmarking the "default" version seems like the right thing to me.
(One example of a strong reason would be if all Python modules were
numbered sequentially in alphabetical order, meaning that adding a new
module changes the URLs of existing modules' pages.) Compare the
PostgreSQL documentation: if you do a web search for 'postgres
nextval', you'll find the documentation for Postgres's sequence
functions (which is correct), but chances are it'll be the old docs -
version 8.1 most likely. If there's no weighting toward one in
particular, I'd say that returning information for the latest version
is the most logical default.

Obviously there's more docs difference between Python 2 and Python 3
than between Postgres 8.1 and Postgres 9.1, but the most accessible
version of a page should not IMHO distinguish between Python minor
versions.

ChrisA
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


raymond.hettinger at gmail

May 20, 2012, 4:27 PM

Post #10 of 43 (325 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On May 18, 2012, at 11:24 AM, Barry Warsaw wrote:

> At what point should we cut over docs.python.org to point to the Python 3
> documentation by default? Wouldn't this be an easy bit to flip in order to
> promote Python 3 more better?

My experience teaching and consulting suggests that this would be a bad move.
People are using Python2.7 and are going to docs.python.org for information.
This would only disrupt their experience.

It wouldn't "promote" anything, it would just make accessing the documentation
more awkward for the large majority of users who are still on Python 2.

When there is more uptake of Python 3, it would be reasonable move.
If it is done now, it will just create confusion and provide no benefit.


Raymond


guido at python

May 20, 2012, 6:23 PM

Post #11 of 43 (323 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

I suggest that we add a separate (virtual) subdomain, e.g. docs3.python.org.

On Sun, May 20, 2012 at 4:27 PM, Raymond Hettinger
<raymond.hettinger [at] gmail> wrote:
>
> On May 18, 2012, at 11:24 AM, Barry Warsaw wrote:
>
> At what point should we cut over docs.python.org to point to the Python 3
> documentation by default?  Wouldn't this be an easy bit to flip in order to
> promote Python 3 more better?
>
>
> My experience teaching and consulting suggests that this would be a bad
> move.
> People are using Python2.7 and are going to docs.python.org for information.
> This would only disrupt their experience.
>
> It wouldn't "promote" anything, it would just make accessing the
> documentation
> more awkward for the large majority of users who are still on Python 2.
>
> When there is more uptake of Python 3, it would be reasonable move.
> If it is done now, it will just create confusion and provide no benefit.
>
>
> Raymond
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev [at] python
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/guido%40python.org
>



--
--Guido van Rossum (python.org/~guido)
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ncoghlan at gmail

May 20, 2012, 9:28 PM

Post #12 of 43 (323 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On Mon, May 21, 2012 at 11:23 AM, Guido van Rossum <guido [at] python> wrote:
> I suggest that we add a separate (virtual) subdomain, e.g. docs3.python.org.

Rather than a new subdomain, I'd prefer to see a discreet
"documentation version" CSS widget, similar to that used in the Django
docs (see https://docs.djangoproject.com/en/1.4/) that indicated the
current displayed version and provided quick links to the 2.7 docs,
the stable 3.x docs and the development docs. The
versionadded/versionchanged notes in the 3.x series are not adequate
for 2.x development, as everything up to and including 3.0 is taken as
a given - the notes are used solely for changes within the 3.x series.

I know plenty of people are keen to push the migration to Python 3
forward as quickly as possible, but this is *definitely* a case of
"make haste slowly". We need to tread carefully or we're going to give
existing users an even stronger feeling that we simply don't care
about the impact the Python 3 migration is having (or is going to
have) on them. *We* know that we care, but there's still plenty of
folks out there that don't realise how deeply rooted the problems are
in Python 2's text model and why the Python 3 backwards compatibility
break was needed to fix them. They don't get to see the debates that
happen on this list - they only get to see the end results of our
decisions. Switching the default docs.python.org version to the 3.x
series is a move that needs to be advertised *well* in advance as a
courtesy to our users, so that those that need to specifically
reference 2.7 have plenty of time to update their links.

Back when Python 3 was first released, we set a target for the
migration period of around 5 years. Since the io performance problems
in 3.0 meant that 3.1 was the first real production ready release of
3.x, that makes June 2014 the target date for when we would like the
following things to be true:
- all major third party libraries and frameworks support Python 3 (or
there are Python 3 forks or functional replacements)
- Python 3 is the default choice for most new Python projects
- most Python instruction uses Python 3, with Python 2 differences
described for those that need to work with legacy code
- (less likely, but possible) user-focused distros such as Ubuntu and
Fedora have changed their "python" symlink to refer to Python 3

That's still 2 years away, and should line up fairly nicely with the
release of Python 3.4 (assuming the current release cadence is
maintained for at least one more version). Key web and networking
frameworks such as Django [1], Pyramid [2] and Twisted [3] should also
be well supported on 3.x by that point.

In the meantime, I propose the following steps be taken in order to
prepare for the eventual migration:
- change the current unqualified URLs into redirects to the
corresponding direct 2.7 URLs
- add a "latest" subpath that is equivalent to the current "py3k" subpath
- add a Django-inspired version switching widget to the CSS & HTML for
the 2.7, 3.2 and trunk docs that offers the following options: 2.7,
3.2, latest (3.2), dev (3.3).

Cheers,
Nick.

[1] https://www.djangoproject.com/weblog/2012/mar/13/py3k/
[2] http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/whatsnew-1.3.html
[3] http://twistedmatrix.com/trac/milestone/Python-3.x

--
Nick Coghlan   |   ncoghlan [at] gmail   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

May 20, 2012, 10:42 PM

Post #13 of 43 (324 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

> I know plenty of people are keen to push the migration to Python 3
> forward as quickly as possible, but this is *definitely* a case of
> "make haste slowly". We need to tread carefully or we're going to give
> existing users an even stronger feeling that we simply don't care
> about the impact the Python 3 migration is having (or is going to
> have) on them.

I don't think users will have *that* feeling. I got comments that users
were puzzled that we kept continuing development on 2.x when 3.x was
released, so users do recognize that the migration to 3.x is not abrupt.

> *We* know that we care, but there's still plenty of
> folks out there that don't realise how deeply rooted the problems are
> in Python 2's text model and why the Python 3 backwards compatibility
> break was needed to fix them.

I don't think users care much about philosophical or abstract engineering
differences between the versions when thinking about porting. I'd expect
that most of them agree, in the abstract, that they will have to port to
Python 3 eventually. Some, of course, wish to stay with Python 2 forever,
and wish that this Python 3 madness is simply abandoned.

That they don't port is often caused by missing dependencies. If all
dependencies are met, it's caused by simple lack of time and energy.

> Back when Python 3 was first released, we set a target for the
> migration period of around 5 years.

Maybe you set this target for yourself. I set "Python 3.2/3.3" as a
target. I think Guido set an even earlier target initially.

Regards,
Martin


_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


tjreedy at udel

May 20, 2012, 10:47 PM

Post #14 of 43 (324 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On 5/21/2012 12:28 AM, Nick Coghlan wrote:
> On Mon, May 21, 2012 at 11:23 AM, Guido van Rossum<guido [at] python> wrote:
>> I suggest that we add a separate (virtual) subdomain, e.g. docs3.python.org.

I was about to post the exact same idea.

docs.python.org/py3k is a bit obscure and buried and makes Python 3.x
look a bit like a second-class citizen on the site. It has previously
been our policy that each new production-ready release takes 'pride of
place' at docs.python.org. Not doing so even with 3.3, *and doing
nothing else*, could be taken as implying that we lack full confidence
in the release.

On the other hand, I am sympathetic to Raymond's and Nick's points that
switching might seem too much 'in their faces' for Py 2 users,
especially those who do not have or use an offline help file as their
everyday reference. I want Python 3 to get equal billing, but not to
generate reaction against it.

I also suggest docs2.python.org as the permanent home for latest python
2 docs for as long as it seems sensible (probably a decade at least).
Make that operable now and suggest on the front page of docs.python.org
that py2 users switch before 3.4.

> Rather than a new subdomain, I'd prefer to see a discreet
> "documentation version" CSS widget, similar to that used in the Django
> docs (see https://docs.djangoproject.com/en/1.4/) that indicated the
> current displayed version and provided quick links to the 2.7 docs,
> the stable 3.x docs and the development docs.

Each page of our docs say "Python 3.3.0a3 Documentation", or the
equivalent, at the top. So we already have that covered. The drop-down
version selection box on the django page seems to only apply to
searches. Merely selecting a different version does not trigger anything.

What might be useful is to have the 'Other versions' links on the left
margin of *every* page, not just the front page, but have them link to
the corresponding page of the other docs (if there is one, and
non-trivial I expect). For someone trying to write combined 2/3 code, or
merely to learn the other version, I would think it useful to be able to
jump to the corresponding page for the other version.

--
Terry Jan Reedy

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ncoghlan at gmail

May 20, 2012, 11:28 PM

Post #15 of 43 (331 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On Mon, May 21, 2012 at 3:47 PM, Terry Reedy <tjreedy [at] udel> wrote:
> On 5/21/2012 12:28 AM, Nick Coghlan wrote:
>>
>> On Mon, May 21, 2012 at 11:23 AM, Guido van Rossum<guido [at] python>
>>  wrote:
>>>
>>> I suggest that we add a separate (virtual) subdomain, e.g.
>>> docs3.python.org.
>
>
> I was about to post the exact same idea.

Please, no - proliferating subdomains can quickly get confusing and
hard to remember. It makes sense up to a point (e.g. separating out
the docs from everything else on python.org), but having multiple docs
subdomains is completely unnecessary when we already have directory
based versioning.

Namespaces are a great idea, let's do more of those :)

> docs.python.org/py3k is a bit obscure and buried and makes Python 3.x look a
> bit like a second-class citizen on the site. It has previously been our
> policy that each new production-ready release takes 'pride of place' at
> docs.python.org. Not doing so even with 3.3, *and doing nothing else*, could
> be taken as implying that we lack full confidence in the release.

Having "http://docs.python.org/latest" refer to Python 3.x would
remove the "second class citizen" status, as well as providing a clear
indication right in the URL that docs.python.org contains more content
than just the latest version of the docs. The unqualified URLs could
then become redirects to "latest" after a suitable migration period
with a notification and a link to the 2.7 version specific docs on
each page.

For example, at the release of 3.3, each page of the default docs on
the website could be updated with a note like the following:

"The default documentation pages will be switching to the Python 3
series in February 2012, 6 months after the release of Python 3.3. The
permanent link for the 2.7 version of this page is: <URL with the
"2.7" directory entry>"

> On the other hand, I am sympathetic to Raymond's and Nick's points that
> switching might seem too much 'in their faces' for Py 2 users, especially
> those who do not have or use an offline help file as their everyday
> reference. I want Python 3 to get equal billing, but not to generate
> reaction against it.

Right, and switching the default docs without a suitable notice period
would be a great way to generate confusion. Migrating to a "latest"
URL has no such negative impact:
- the new URLs become available immediately for those that want to use them
- the old URLs can be converted to 301 redirects after a suitable warning period

> I also suggest docs2.python.org as the permanent home for latest python 2
> docs for as long as it seems sensible (probably a decade at least). Make
> that operable now and suggest on the front page of docs.python.org that py2
> users switch before 3.4.

I think "http://docs.python.org/2.7" is fine as the long term home for
the final version of the Python 2 documentation (it also has the
virtue of already existing).

>> Rather than a new subdomain, I'd prefer to see a discreet
>> "documentation version" CSS widget, similar to that used in the Django
>> docs (see https://docs.djangoproject.com/en/1.4/) that indicated the
>> current displayed version and provided quick links to the 2.7 docs,
>> the stable 3.x docs and the development docs.
>
> Each page of our docs say "Python 3.3.0a3 Documentation", or the equivalent,
> at the top. So we already have that covered. The drop-down version selection
> box on the django page seems to only apply to searches. Merely selecting a
> different version does not trigger anything.
>
> What might be useful is to have the 'Other versions' links on the left
> margin of *every* page, not just the front page, but have them link to the
> corresponding page of the other docs (if there is one, and non-trivial I
> expect). For someone trying to write combined 2/3 code, or merely to learn
> the other version, I would think it useful to be able to jump to the
> corresponding page for the other version.

That's what the Django widget does. I'm not talking about their search
form - I'm talking about the floating CSS box that appears in the
bottom right of each page and stays there as you scroll down. If you
click on it, the list of available documentation versions appears,
with direct links to the corresponding page in the other versions.

It has several attractive features:
- always present, even when you scroll down on a long page
- unobtrusive when you don't need it (only displays current version by
default, have to click it to get the list of all versions)
- direct links to the corresponding page in other versions

Cheers,
Nick.

--
Nick Coghlan   |   ncoghlan [at] gmail   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


benjamin at python

May 20, 2012, 11:32 PM

Post #16 of 43 (323 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

2012/5/20 Nick Coghlan <ncoghlan [at] gmail>:
> On Mon, May 21, 2012 at 3:47 PM, Terry Reedy <tjreedy [at] udel> wrote:
>> On 5/21/2012 12:28 AM, Nick Coghlan wrote:
>>>
>>> On Mon, May 21, 2012 at 11:23 AM, Guido van Rossum<guido [at] python>
>>>  wrote:
>>>>
>>>> I suggest that we add a separate (virtual) subdomain, e.g.
>>>> docs3.python.org.
>>
>>
>> I was about to post the exact same idea.
>
> Please, no - proliferating subdomains can quickly get confusing and
> hard to remember. It makes sense up to a point (e.g. separating out
> the docs from everything else on python.org), but having multiple docs
> subdomains is completely unnecessary when we already have directory
> based versioning.
>
> Namespaces are a great idea, let's do more of those :)

A subdomain isn't a namespace?


--
Regards,
Benjamin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


tjreedy at udel

May 20, 2012, 11:37 PM

Post #17 of 43 (325 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On 5/21/2012 2:28 AM, Nick Coghlan wrote:
> On Mon, May 21, 2012 at 3:47 PM, Terry Reedy<tjreedy [at] udel> wrote:

>> What might be useful is to have the 'Other versions' links on the left
>> margin of *every* page, not just the front page, but have them link to the
>> corresponding page of the other docs (if there is one, and non-trivial I
>> expect). For someone trying to write combined 2/3 code, or merely to learn
>> the other version, I would think it useful to be able to jump to the
>> corresponding page for the other version.
>
> That's what the Django widget does. I'm not talking about their search
> form - I'm talking about the floating CSS box that appears in the
> bottom right of each page and stays there as you scroll down. If you
> click on it, the list of available documentation versions appears,
> with direct links to the corresponding page in the other versions.
>
> It has several attractive features:
> - always present, even when you scroll down on a long page
> - unobtrusive when you don't need it (only displays current version by
> default, have to click it to get the list of all versions)
> - direct links to the corresponding page in other versions

I see it now. Very nice. I hope our doc people can duplicate it.

--
Terry Jan Reedy

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ncoghlan at gmail

May 21, 2012, 12:24 AM

Post #18 of 43 (325 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On Mon, May 21, 2012 at 4:32 PM, Benjamin Peterson <benjamin [at] python> wrote:
> 2012/5/20 Nick Coghlan <ncoghlan [at] gmail>:
>> On Mon, May 21, 2012 at 3:47 PM, Terry Reedy <tjreedy [at] udel> wrote:
>>> On 5/21/2012 12:28 AM, Nick Coghlan wrote:
>>>>
>>>> On Mon, May 21, 2012 at 11:23 AM, Guido van Rossum<guido [at] python>
>>>>  wrote:
>>>>>
>>>>> I suggest that we add a separate (virtual) subdomain, e.g.
>>>>> docs3.python.org.
>>>
>>>
>>> I was about to post the exact same idea.
>>
>> Please, no - proliferating subdomains can quickly get confusing and
>> hard to remember. It makes sense up to a point (e.g. separating out
>> the docs from everything else on python.org), but having multiple docs
>> subdomains is completely unnecessary when we already have directory
>> based versioning.
>>
>> Namespaces are a great idea, let's do more of those :)
>
> A subdomain isn't a namespace?

A subdomain is only a namespace if you use it as one. The following
would be using docs.python.org as a namespace (and is what I think we
should move towards):

docs.python.org/latest
docs.python.org/dev
docs.python.org/3.2
docs.python.org/3.1
docs.python.org/2.7
docs.python.org/2.6
etc...

The following is *not* using it as a namespace:

docs.python.org # 2.7
docs3.python.org # 3.2

Cheers,
Nick.

--
Nick Coghlan   |   ncoghlan [at] gmail   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


hs at ox

May 21, 2012, 12:35 AM

Post #19 of 43 (325 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

>>> Namespaces are a great idea, let's do more of those :)
>> A subdomain isn't a namespace?
> A subdomain is only a namespace if you use it as one. The following
> would be using docs.python.org as a namespace (and is what I think we
> should move towards):
>
> docs.python.org/latest
> docs.python.org/dev
> docs.python.org/3.2
> docs.python.org/3.1
> docs.python.org/2.7
> docs.python.org/2.6
> etc...

Bikesheddingly, I’d prefer “stable” over ”latest”. That would also
better convey the point that 3 is ready for production.

Otherwise +1; I find the current hybrid structure suboptimal.

Also -1 on docs3, that would suggest that it’s still something special
and 2 (= docs) is the real deal.

Regards,
Hynek
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


turnbull at sk

May 21, 2012, 1:05 AM

Post #20 of 43 (319 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

Nick Coghlan writes:

> > A subdomain isn't a namespace?
>
> A subdomain is only a namespace if you use it as one. The following
> would be using docs.python.org as a namespace (and is what I think we
> should move towards):

+1

> The following is *not* using it as a namespace:
>
> docs.python.org # 2.7
> docs3.python.org # 3.2

No, but it *is* using "python.org" as a namespace. I personally think
this is ugly and hard to use, but I'm hard-pressed to explain why. :-(
I hope you can do better (the above isn't going to convince anybody
who currently holds the opposite opinion).
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


p.f.moore at gmail

May 21, 2012, 1:27 AM

Post #21 of 43 (315 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On 21 May 2012 08:35, Hynek Schlawack <hs [at] ox> wrote:
> Also -1 on docs3, that would suggest that it’s still something special
> and 2 (= docs) is the real deal.

Good point.
Paul.
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


steve at pearwood

May 21, 2012, 2:00 AM

Post #22 of 43 (315 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On Mon, May 21, 2012 at 01:47:50AM -0400, Terry Reedy wrote:

> What might be useful is to have the 'Other versions' links on the left
> margin of *every* page, not just the front page, but have them link to
> the corresponding page of the other docs (if there is one, and
> non-trivial I expect). For someone trying to write combined 2/3 code, or
> merely to learn the other version, I would think it useful to be able to
> jump to the corresponding page for the other version.

+1


--
Steven

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


solipsis at pitrou

May 21, 2012, 2:07 AM

Post #23 of 43 (316 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On Mon, 21 May 2012 14:28:06 +1000
Nick Coghlan <ncoghlan [at] gmail> wrote:

> On Mon, May 21, 2012 at 11:23 AM, Guido van Rossum <guido [at] python> wrote:
> > I suggest that we add a separate (virtual) subdomain, e.g. docs3.python.org.
>
> Rather than a new subdomain, I'd prefer to see a discreet
> "documentation version" CSS widget, similar to that used in the Django
> docs (see https://docs.djangoproject.com/en/1.4/) that indicated the
> current displayed version and provided quick links to the 2.7 docs,
> the stable 3.x docs and the development docs.

+1.
There will be some subtleties: for example, the 2.x docs for urllib2
will have to link to the 3.x docs for urllib.request.

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


lukasz at langa

May 21, 2012, 2:09 AM

Post #24 of 43 (320 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

Wiadomo¶æ napisana przez Nick Coghlan w dniu 21 maj 2012, o godz. 09:24:

> The following
> would be using docs.python.org as a namespace (and is what I think we
> should move towards):
>
> docs.python.org/latest
> docs.python.org/dev
> docs.python.org/3.2
> docs.python.org/3.1
> docs.python.org/2.7
> docs.python.org/2.6

Love it. +1

I also like the Django-like "Documentation version" bubble. Makes navigating between versions simple regardless where you got the original link from. Blog posts and search engines often keep links to outdated versions.

--
Best regards,
£ukasz Langa
Senior Systems Architecture Engineer

IT Infrastructure Department
Grupa Allegro Sp. z o.o.

http://lukasz.langa.pl/
+48 791 080 144

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


g.brandl at gmx

May 21, 2012, 2:41 AM

Post #25 of 43 (310 views)
Permalink
Re: docs.python.org pointing to Python 3 by default? [In reply to]

On 05/21/2012 03:23 AM, Guido van Rossum wrote:
> I suggest that we add a separate (virtual) subdomain, e.g. docs3.python.org.

Here are the time machine keys: this subdomain has existed for a few years now :)

Georg

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

First page Previous page 1 2 Next page Last page  View All Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.