Skip to content

Conversation

JulienPalard
Copy link
Member

@JulienPalard JulienPalard commented Aug 8, 2017

Backporting the documentation language switch to 2.7.

  • Doc: Indicate the language

  • Renaming version_switcher to switchers (to add language_switcher).

  • Adding language switch.

  • Doc switchers: Enhance readability of regex parsing versions.

  • Doc switchers: Desambiguate the need of a replace(//+$/g, '') by proper naming.

  • Doc switchers: py3k can't reach js, it's redirected server-side by nginx.

  • Doc switchers: Examples matching actual regexes.

  • Doc switchers: Better fallback on unexisting translated version.

(cherry picked from commit dff9b5f)

https://bugs.python.org/issue31045

* Doc: Indicate the language

* Renaming version_switcher to switchers (to add language_switcher).

* Adding language switch.

* Doc switchers: Enhance readability of regex parsing versions.

* Doc switchers: Desambiguate the need of a replace(/\/+$/g, '') by proper naming.

* Doc switchers: py3k can't reach js, it's redirected server-side by nginx.

* Doc switchers: Examples matching actual regexes.

* Doc switchers: Better fallback on unexisting translated version.

(cherry picked from commit dff9b5f)
@vstinner vstinner merged commit 245dafc into python:2.7 Aug 8, 2017
@JulienPalard JulienPalard deleted the language-switch-27 branch June 16, 2019 14:06
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.

3 participants