https://github.com/python/cpython/commit/18ba4851aeb5dc5d6b4d22adc8d0555d0c2fdfe5 commit: 18ba4851aeb5dc5d6b4d22adc8d0555d0c2fdfe5 branch: 2.7 author: Julien Palard <julien at palard.fr> committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com> date: 2018年11月08日T00:09:38-08:00 summary: [2.7] Doc: Make all versions sidebars the same for consistency. (GH-10288) (GH-10410) files: M Doc/tools/templates/indexsidebar.html diff --git a/Doc/tools/templates/indexsidebar.html b/Doc/tools/templates/indexsidebar.html index d6b054e8766b..e69e9a305425 100644 --- a/Doc/tools/templates/indexsidebar.html +++ b/Doc/tools/templates/indexsidebar.html @@ -1,12 +1,13 @@ <h3>{% trans %}Download{% endtrans %}</h3> <p><a href="{{ pathto('download') }}">{% trans %}Download these documents{% endtrans %}</a></p> -<h3>{% trans %}Docs for other versions{% endtrans %}</h3> +<h3>{% trans %}Docs by version{% endtrans %}</h3> <ul> <li><a href="https://docs.python.org/3.8/">{% trans %}Python 3.8 (in development){% endtrans %}</a></li> <li><a href="https://docs.python.org/3.7/">{% trans %}Python 3.7 (stable){% endtrans %}</a></li> <li><a href="https://docs.python.org/3.6/">{% trans %}Python 3.6 (stable){% endtrans %}</a></li> <li><a href="https://docs.python.org/3.5/">{% trans %}Python 3.5 (security-fixes){% endtrans %}</a></li> - <li><a href="https://www.python.org/doc/versions/">{% trans %}Old versions{% endtrans %}</a></li> + <li><a href="https://docs.python.org/2.7/">{% trans %}Python 2.7 (stable){% endtrans %}</a></li> + <li><a href="https://www.python.org/doc/versions/">{% trans %}All versions{% endtrans %}</a></li> </ul> <h3>{% trans %}Other resources{% endtrans %}</h3>