Re: [Numpy-discussion] SphinxDocString class in new numpy doc framework

2008-06-29 Thread Stéfan van der Walt
Hi Matt The docstring for ``np.swapaxes`` is broken -- notice the indent after the first line. If you remove that, things should be fine: In [31]: d = np.swapaxes.__doc__ In [32]: d = d.split('\n') In [33]: d[0] = 'Return a view of an array a with axis1 and axis2 interchanged.' In [34]:

Re: [Numpy-discussion] SphinxDocString class in new numpy doc framework

2008-06-29 Thread Pierre GM
Matt, David Huard and myself have also been working on that. So far, we have a set of directives (numpyxxx, where xxx is function, attribute, method...) that satisfy the numpy standard and can be processed by sphinx. We also have the equivalent autodirectives. https://code.launchpad.net/~david-

[Numpy-discussion] SphinxDocString class in new numpy doc framework

2008-06-29 Thread Matt Knox
I guess this question is mostly for Stefan... but I am trying to port the scikits.timeseries module wiki documentation into a sphinx framework, and also trying to follow the numpy doc string standards (which can't be parsed directly by sphinx), so I'm trying to use the SphinxDocString class in doc