The tilde prevents it from being a link:
http://sphinx-doc.org/markup/inline.html?highlight=semantic#cross-referencing-syntax

You can prevent the module name via the configuration value add_module_names
http://sphinx-doc.org/config.html?highlight=add_mod#confval-add_module_names



On Wed, Dec 5, 2012 at 10:11 AM, Infinity77 <[email protected]> wrote:
>
> Hi All,
>
> I am trying to document parameter types for the Phoenix project (next 
> generation of wxPython). I have the following issue: if I document a 
> parameter in this way:
>
>       :param `col`: The column I am interested in
>       :type `col`: dataview.DataViewColumn
>
>
> Then I get this output from Sphinx:
>
> Parameters:
>
> col (dataview.DataViewColumn) – The column I am interested in
>
>
> I am trying to remove the module name in front of DataViewColumn, so I 
> naively tried this:
>
>       :param `col`: The column I am interested in
>       :type `col`: `~dataview.DataViewColumn`
>
> With the tilde in fron of the module name. But in this case, no hyperlink is 
> generated by Sphinx for the parameter type (i.e., it's only italicized).
>
> Am I missing something?
>
> Thank you in advance for any suggestion.
>
> Andrea.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sphinx-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
>
>

--
Jonathan Waltman

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.


Reply via email to