David Cournapeau schrieb: > Sphinx API doc works by introspection, so it does not matter so much > whether the underlying code is in python or C (cython is "just" a tool > to generate C in that case). > > You can see a simple example here I made for audiolab: > > http://www.ar.media.kyoto-u.ac.jp/members/david/softwares/audiolab/sphinx/fullapi.html > > And the corresponding source file: > > http://github.com/cournape/audiolab/blob/4afd4853dbb273305ab8468e860bf2e651883c20/scikits/audiolab/pysndfile/_sndfile.pyx >
I looked through you code and sphinx files, the output seems to be very nice, but I can't reproduce such an output with my code/configuration. AFAIK sphinx gets the info for autodoc from the docstring but how does this work for you because my docstrings are removed in the module (according the cython doc, that's the normal behavior). did I overlook something in your configuration? cheers martin _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
