I'm encountering a strange issue with parameter type links.

def foo(x)
>     """Function does something
>     
>     :param x: Some param
>     :type x: int
>     """
>     print x


When this is documented with *.. autofunction:: foo*, the param is linked 
to the Python int() function. This is the generated HTML:

<li><strong>x</strong> (<a class="reference external" href="
http://docs.python.org/library/functions.html#i<http://docs.python.org/library/functions.html#str>nt"
 
title="(in Python v2.7)"><em>int</em></a>) &#8211; Some param</li>


Is there a way to either link it to the primitive type or omit the link 
altogether?

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to