homepage

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.

Author yselivanov
Recipients docs@python, georg.brandl, rhettinger, yselivanov
Date 2012年10月26日.17:34:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351272860.89.0.664706637925.issue16331@psf.upfronthosting.co.za>
In-reply-to
Content
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 dropdown events is smart enough to:
1) Redirect users to the same documentation section, i.e. if the user is on 'atexit' module doc page for 3.3, and decides to switch to '2.7', he'll see 'atexit' module doc page for 2.7
2) Before making a redirect, is checks that the doc page exists for the selected python version, and if not, then it simply redirects to 'http://docs.python.org/{version}'
3) Users with JS disabled will see a plain-text current version (no drop down)
History
Date User Action Args
2012年10月26日 17:34:21yselivanovsetrecipients: + yselivanov, georg.brandl, rhettinger, docs@python
2012年10月26日 17:34:20yselivanovsetmessageid: <1351272860.89.0.664706637925.issue16331@psf.upfronthosting.co.za>
2012年10月26日 17:34:20yselivanovlinkissue16331 messages
2012年10月26日 17:34:20yselivanovcreate

AltStyle によって変換されたページ (->オリジナル) /