[SciPy-User] [SciPy-user] Using Sphinx with numpy/scipy template

bfrenay bfrenay@gmail....
Wed Sep 29 06:20:01 CDT 2010


I just migrated all my code documentation to the numpy/scipy format. 
However, I have some problems with sphinx.  I have (i) installed sphinx and
numpydoc using easyinstall, (ii) inserted the following line in conf.py

extensions= ['sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'numpydoc']

and (iii) created a simple, dummy index.rst file reproduced here bellow

.. project documentation master file

.. automodule:: project.datasets

However, I only get errors (reproduced after the message).  Does anyone have
an idea about what is going on, please ?

Thank you,


$ make html
sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v1.0.4

Exception occurred:
line 136, in get_directive
    raise RuntimeError("No directive named '%s' found" % name)
RuntimeError: No directive named 'function' found
The full traceback has been saved in /tmp/sphinx-err-pCQ8Df.log, if you want
to report the issue to the developers.
Please also report this if it was a user error, so that a better error
message can be provided next time.
Either send bugs to the mailing list at
or report them in the tracker at
<http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
make: *** [html] Erreur 1
View this message in context: http://old.nabble.com/Using-Sphinx-with-numpy-scipy-template-tp29837454p29837454.html
Sent from the Scipy-User mailing list archive at Nabble.com.

More information about the SciPy-User mailing list