Georg Brandl wrote:
> For Python methods, neither return nor parameter types are supported in
> a special way. (This will change; I intend to allow 3k-style annotations
> at some point which could be used for type info.)
>
> One convention, other than simply putting it into the prose, is to put doc
> fields à la Epydoc into the documentation, like this:
>
> .. function:: foo(x)
>
> :param x: blah
> :rtype: :class:`Bar`
Are all of the above working with Sphinx 0.6.3? They appear to be, but
I'm not sure I like the rendering too much ;-) (Can I do anything to
control that rendering?)
How do I get :class:`Bar` to be a link to the documentation for the Bar
class?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---