m4tx / py3redirect

WebExtension that redirects Python 2 docs to Python 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

py3redirect

Google search results very often have links to Python 2 docs page. However, if you are programming in Python 3, switching to version 3 docs constantly may be pretty annoying. Same thing if you're not using the latest version of Python 3 and want to always see a specific version. This extension does that for you.

Screenshot from Firefox

Install

The extension is available on:

Configuration

When on docs.python.org you can click on the extension icon to temporarily disable redirecting or to set the Python version that you'd like to redirect to. 3 will select the latest available version and the values only take one minor version (ie. 3.6, 3.7) since that's what's used in the URLs.

About

WebExtension that redirects Python 2 docs to Python 3

License:MIT License


Languages

Language:JavaScript 94.7%Language:Python 3.3%Language:HTML 1.9%Language:CSS 0.2%