Skip to content

Removing Python 2.x references from supernav and /doc/ #1530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

jnny
Copy link
Contributor

@jnny jnny commented Nov 10, 2019

Fixes #1255

This PR is similar to #1219 - in pursuit of further de-emphasizing Python 2.x presence in light of imminent EOL:

  • Removes Python 2 button from the Docs supernav
  • Removes Python 2.x Docs button from /doc/
  • Removes 'Python 2 or 3?' from Beginner's section

Not done, needs CMS access I believe:

  • Replace ‘Python 2.x Resources’ widget with, potentially, ‘Porting from Python 2 to Python 3’ with links to:

@greghendershott
Copy link

@jnny Thank you! Just to confirm:

  1. When you say "the Python 2.x resources widget", do you mean this on e.g. the home page?

python-2-box

  1. And, you propose replacing all of those existing links with the new links you listed? (Not disagreeing, just confirming.)

@jnny
Copy link
Contributor Author

jnny commented Dec 17, 2019

@greghendershott Yes, that's an idea for how to reformat that area. Apologies for the delay, I thought I had replied!

@ewdurbin ewdurbin merged commit d4731af into python:master Jun 4, 2020
@ewdurbin
Copy link
Member

ewdurbin commented Jun 4, 2020

Thanks! These updates were applied via CMS, I'm going to look into the Python 2.x resources box as well now and see if I can figure out where to go with that.

Appreciate your work on this @jnny!

@ewdurbin
Copy link
Member

ewdurbin commented Jun 4, 2020

The suggested changes for Python 2.x resources will be applied to this template: https://github.com/python/pythondotorg/blob/master/templates/python/documentation.html

ewdurbin added a commit that referenced this pull request Jun 4, 2020
ewdurbin added a commit that referenced this pull request Jun 4, 2020
@ewdurbin
Copy link
Member

ewdurbin commented Jun 4, 2020

See: #1597

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scale back Python 2.7 presence on the Documentation parts of the website
3 participants