You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK I had a look at this, and this is basically a limitation of Napoleon and how it handles these custom sections. There are three ways of presenting the custom sections: general, params_style and returns_style. We have been using params_style (returns_style would be the same) and this style expects parameters to be defined as
param : type
Long description
It will automatically create the parenthesis around the type for each parameter, which is what we observe. But then, for the custom Events section, we are manually adding parenthesis to each event type:
See e.g. layerlist:
https://napari.org/0.5.0/api/napari.components.LayerList.html#napari.components.LayerList
Note the double parentheses:
And the eventedlist:
https://napari.org/0.5.0/api/napari.utils.events.EventedList.html#napari.utils.events.EventedList
Now the parentheses are moved and the first word is in bold:
I haven't yet investigated whether this is a bug in the theme or the docs though.
The text was updated successfully, but these errors were encountered: