[SciPy-Dev] Questions about docs

David Goldsmith d.l.goldsmith at gmail.com
Fri Apr 2 01:54:15 EDT 2010


On Thu, Apr 1, 2010 at 9:41 PM, David Cournapeau <david at silveregg.co.jp>wrote:

> Warren Weckesser wrote:
> > Each package has the file "info.py" (e.g. scipy/linalg/info.py) that
> > contains a docstring.  For linalg, roughly the same information is in
> > doc/source/linalg.rst.  Which is the file that is currently maintained,
> > and which can we get rid of?  Running "make html" in doc/ uses the .rst
> > file, but the corresponding web page at docs.scipy.org
> > (http://docs.scipy.org/scipy/docs/scipy.linalg/) appears to be from the
> > file info.py.
>

IIRC, this has come up before, but I don't recall the resolution (if there
was any) and GMANE doesn't search for periods so there appears to be no
efficient way to search the list for info.py AND .rst ("info.py" returned
occurrences of .py) - does anyone recall and/or know where/how to find that
thread?

DG


> >
> > More basic question:  when I have the trunk checked out, what is "the
> > way" to build the docs?
>
> If you want to build the doc for the scipy you have in your trunk, you
> need to build and install scipy first (so that the docstrings can be
> extracted).
>
> The way I do it when generating the scipy binaries is:
>        - create a virtual env and activate it
>        - install scipy through python setupsconsegg.py install (or
> setupegg.py
> - I prefer using scons because I can build scipy very quickly on a
> multicore machine)
>        - then build the doc (cd doc && make html)
>
> cheers,
>
> David
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>



-- 
Mathematician: noun, someone who disavows certainty when their uncertainty
set is non-empty, even if that set has measure zero.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20100401/15570fdf/attachment.html>


More information about the SciPy-Dev mailing list