#sphinx #numpydoc folks, I have a question.

When specifying a parameter

```
"""
...
levels : (float, float)
description.
...
“””
```

sphinx is givingm e warnings:

WARNING: py:class reference target not found (float [ref.class]
WARNING: py:class reference target not found float) [ref.class]

I know I can get around this by specifying the type as

leves : tuple(float, float)

But not having to specify tuple makes it much nicer looking (and the parenthesis imply it).

suggestions on how to work around this?

Looking at the docstrings for numpy, they appear to use the same style of annotations:

```
range : (float, float)
The lower and upper range of the bins.
```

Suppose I should take a closer look at their conf.py and see if there is magic there…

#sphinx #numpydoc

Ok, I think this is strictly a numpydoc feature that involves the use of their built in xref's which sphinx.ext.napoleon does not have access to.

#sphinx #numpydoc