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 <rep...@bugs.python.org> <http://bugs.python.org/issue8040> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com