I can use docutils
to parse reStructuredText formatted docstrings, but it doesn't parse the directives themselves that belong to the Python domain. For example, :type path: unicode
gets parsed as:
<field>
<field_name>type path</field_name>
<field_body>
<paragraph>unicode</paragraph>
</field_body>
</field>
Can I use Sphinx to programmatically get more meaning out of it? I.e. parameter names, etc?