rtfd/readthedocs.org — pull request #260 by julen (2012-09-27 19:45:11+00:00)
Title: Rewrite rtd.js.

There was a mix of code that was used both for the site and for the
Sphinx theme:

- Site's code was only affecting the import page, so now it's included
only there.

- Sphinx theme's code has been placed in its own location too, and
variables are populated as if they were within a Jinja template
(notice the _t ending in the extension).

All the code has been largely rewritten as well, in order to avoid
using/poluting the global namespace.