Use the 'pylons_sphinx_latesturl' extension.