[SciPy-Dev] Cross-link scipy docs and source code?
Tue Mar 13 14:18:40 CDT 2012
On Mar 13, 2012, at 7:26 PM, Ralf Gommers wrote:
> On Sun, Mar 11, 2012 at 2:42 PM, Pauli Virtanen <firstname.lastname@example.org> wrote:
> 11.03.2012 14:25, Ralf Gommers kirjoitti:
> > Instead of doubling the size of the built docs, why not add a link to
> > the source file on Github?
> Yep. Scipy has ~ 5 MB of Python code, and adding HTML formatting on top
> of that would blow up the size by some factor.
> Sphinx doesn't seem to have a pre-built extension for this, but it seems
> pretty easy to just write one up and submit it to them. We can keep it
> in Numpy's sphinxext for the time being.
> Apparently "pretty easy" means "I'll fix it right this minute". It's live already: http://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.minimize.html
> Thanks Pauli!
This is great!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-Dev