[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- superseder: -> documentation pages should link to other versions of the same page ___ Python tracker ___ ___

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Martin v . Löwis
Martin v. Löwis added the comment: yselivanov: please resubmit the patch to the original issue. -- nosy: +loewis resolution: -> duplicate status: open -> closed ___ Python tracker _

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Chris Jerdonek
Chris Jerdonek added the comment: I recommend closing this as a duplicate. -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Python-

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: Eric, Ezio, This one has a patch attached with a relevant discussion & review, so I'd close #8040. But if you guys decide to close this one and switch to #8040 - i'm fine. -- ___ Python tracker

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Éric Araujo
Éric Araujo added the comment: Typically we close the newer issue as duplicate of the existing one, unless the new has much more discussion or patches. I would close this one. About renamed modules: there’s a mapping in lib2to3 that contains the info. -- _

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: Eric, I'm not sure what we should do with #8040. I searched for the existing issue before creating a new one, but obviously failed. Should we just close #8040 and point it to #16331? -- ___ Python tracker

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: > I mostly want to switch between 2.x and 3.x, and several modules got renamed > between these versions. There are also new modules on each release (5 new > ones in 3.3). To make that work we'll need to have a modules mapping between 2nd and 3rd versions. I

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Ezio Melotti
Ezio Melotti added the comment: > I think that this dropdown is mostly like to be used to switch between > somewhat recent python versions, like '3.2' -> '3.3', '2.7' -> '3.3', > and not between '2.4' -> '3.4' I mostly want to switch between 2.x and 3.x, and several modules got renamed between

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: > 1) mapping new/renamed/delete files between versions; I think that this dropdown is mostly like to be used to switch between somewhat recent python versions, like '3.2' -> '3.3', '2.7' -> '3.3', and not between '2.4' -> '3.4' And most of the internet links p

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Ezio Melotti
Ezio Melotti added the comment: See #8040. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Ezio Melotti
Ezio Melotti added the comment: I left a review on rietveld. FWIW we discussed this already somewhere, and IIRC the two main issues were: 1) mapping new/renamed/delete files between versions; 2) making this work while building the docs locally; Redirecting to 'http://docs.python.org/{version}'

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: > What happens if the module doesn't exist in a previous version or if it has a > different name? As I said in the first message: """ 2) Before making a redirect, is checks that the doc page exists for the selected python version, and if not, then it simply r

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for the patch. What happens if the module doesn't exist in a previous version or if it has a different name? It's probably not necessary to include all those versions. -- nosy: +ezio.melotti stage: -> patch review versions: +Python 2.7 -Python 3

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
Changes by Yury Selivanov : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
New submission from Yury Selivanov: This patch adds a dropdown to python documentation top toolbar: https://dl.dropbox.com/u/21052/python/p3_doc_dd.png This patch version is for python 3.3 & 3.4 docs theme, but I can quickly make patches for 3.2-style and below. JavaScript that monitors dropdo