[docs] Add a version switcher to python docs site (issue 16331)
yselivanov.ml at gmail.com
yselivanov.ml at gmail.com
Fri Oct 26 19:56:45 CEST 2012
http://bugs.python.org/review/16331/diff/6400/Doc/tools/sphinxext/layout.html
File Doc/tools/sphinxext/layout.html (right):
http://bugs.python.org/review/16331/diff/6400/Doc/tools/sphinxext/layout.html#newcode7
Doc/tools/sphinxext/layout.html:7: <span id="version_switcher">{{
release }}</span>
On 2012/10/26 19:48:52, ezio.melotti wrote:
> This should probably be wrapped in an {% if not embedded %}
Well, in the current patch it shouldn't be, as {{ shorttitle }} will
just display 'Documentation', and the <span> will display a release
number. Together they look like they looked before the patch...
http://bugs.python.org/review/16331/
More information about the docs
mailing list