Stefan Ulbrich | 6 Feb 11:54
Picon

Signature introspection from docstring

Hello List,

I want to expose a Python module via XML-RPC to a C++ program and want my server to provide function
signatures with type information. 
The signature should be automatically generated and all methods in the module are extensively documented
with ":param:" and ":type:".
For now, I use regular expressions to extract the description but I wonder if I can also use the docutils. Can
anybody give me a hint 
at which part of docutils to look if this is possible? 

Best,
Stefan
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Guenter Milde | 7 Feb 09:10

Re: Signature introspection from docstring

On 2012-02-06, Stefan Ulbrich wrote:
> Hello List,

> I want to expose a Python module via XML-RPC to a C++ program and want
> my server to provide function signatures with type information.  The
> signature should be automatically generated and all methods in the
> module are extensively documented with ":param:" and ":type:". For now,
> I use regular expressions to extract the description but I wonder if I
> can also use the docutils. Can anybody give me a hint at which part of
> docutils to look if this is possible? 

Have a look at Sphinx__ and its extensions.

__ http://sphinx.pocoo.org/

Günter

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Docutils-users mailing list
Docutils-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
(Continue reading)


Gmane