[docs] [issue8040] documentation pages should link to other versions of the same page

Georg Brandl report at bugs.python.org
Sat Oct 27 22:15:57 CEST 2012


Georg Brandl added the comment:

Indeed RELEASE is not defined anywhere.  I was confusing JS variables and Jinja template variables: DOCUMENTATION_OPTIONS.VERSION is in fact what Sphinx calls "release".

So the fix should be to use VERSION as release and VERSION[:3] as version.  Thanks for catching that.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8040>
_______________________________________


More information about the docs mailing list