Hi there, I just wanted to mention that numpydoc is broken with the latest sphinx release. I had a quick look, but could find how to solve the problem, so I am just pointing it out here: The trace is: # Sphinx version: 1.0b2+/3fed33465259 # Docutils version: 0.6 release # Jinja2 version: 2.3.1 Traceback (most recent call last): File "/home/varoquau/dev/sphinx/sphinx/cmdline.py", line 172, in main warningiserror, tags) File "/home/varoquau/dev/sphinx/sphinx/application.py", line 116, in __init__ self.setup_extension(extension) File "/home/varoquau/dev/sphinx/sphinx/application.py", line 253, in setup_extension mod.setup(self) File "/home/varoquau/dev/scikit-learn/doc/sphinxext/numpydoc.py", line 120, in setup app.add_directive('np-' + name, wrap_mangling_directive(name, objtype)) File "/home/varoquau/dev/scikit-learn/doc/sphinxext/numpydoc.py", line 140, in wrap_mangling_directive base_directive = get_directive(base_directive_name) File "/home/varoquau/dev/scikit-learn/doc/sphinxext/numpydoc.py", line 137, in get_directive raise RuntimeError("No directive named '%s' found" % name) RuntimeError: No directive named 'function' found Indeed, there is no 'function' in the directives._directives dictionnary.. Gaël
Hi,
I just wanted to mention that numpydoc is broken with the latest sphinx release. I had a quick look, but could find how to solve the problem, so I am just pointing it out here:
For reference in case anyone is searching... http://old.nabble.com/numpydoc-broken-by-latest-sphinx-td28896476.html http://projects.scipy.org/numpy/ticket/1489 See you, Matthew
On Mon, Jul 26, 2010 at 01:52:06PM -0700, Matthew Brett wrote:
http://old.nabble.com/numpydoc-broken-by-latest-sphinx-td28896476.html http://projects.scipy.org/numpy/ticket/1489
Darn, I should have googled :( Thanks, Gaël
On Mon, Jul 26, 2010 at 1:56 PM, Gael Varoquaux <gael.varoquaux@normalesup.org> wrote:
On Mon, Jul 26, 2010 at 01:52:06PM -0700, Matthew Brett wrote:
http://old.nabble.com/numpydoc-broken-by-latest-sphinx-td28896476.html http://projects.scipy.org/numpy/ticket/1489
Darn, I should have googled :(
Better an extra email than no report at all - all good ;) Matthew
participants (2)
-
Gael Varoquaux
-
Matthew Brett