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
In the parameter list of func, numpydoc ultimately renders C (could also be pkg.C or ~pkg.C, all without backquotes in the docstring) in bold, whereas sphinx.ext.napoleon renders C as a reference to the C class (with a link). The latter behavior appears to be more useful.
One may argue that "C" should be enclosed in backquotes for that to happen, but in fact sphinx's default info field list syntax (http://www.sphinx-doc.org/en/stable/domains.html#info-field-lists) also does not require backquotes (similarly to numpydoc's examples) but still renders "C" as a reference.
(Actually looks similar to #43, #57 but possibly with more background info. In particular it would be nice if ~pkg.C and .pkg.C are correctly handled. Feel free to close as duplicate.)
The text was updated successfully, but these errors were encountered:
Consider
pkg/__init__.py
pkg.rst
In the parameter list of
func
, numpydoc ultimately rendersC
(could also bepkg.C
or~pkg.C
, all without backquotes in the docstring) in bold, whereas sphinx.ext.napoleon rendersC
as a reference to the C class (with a link). The latter behavior appears to be more useful.One may argue that "C" should be enclosed in backquotes for that to happen, but in fact sphinx's default info field list syntax (http://www.sphinx-doc.org/en/stable/domains.html#info-field-lists) also does not require backquotes (similarly to numpydoc's examples) but still renders "C" as a reference.
(Actually looks similar to #43, #57 but possibly with more background info. In particular it would be nice if
~pkg.C
and.pkg.C
are correctly handled. Feel free to close as duplicate.)The text was updated successfully, but these errors were encountered: