Skip to content

Commit

Permalink
Note on methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jnothman committed Sep 7, 2017
1 parent 7fa273c commit c917226
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions numpydoc/docscrape_sphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ def _process_param(self, param, desc, autosum):
``desc``, if ``autosum is None`` or ``param`` is not a class
attribute, or it will be a summary of the class attribute's
docstring.
Notes
-----
This does not have the autosummary functionality to display a method's
signature, and hence is not used to format methods. It may be
complicated to incorporate autosummary's signature mangling, as it
relies on Sphinx's plugin mechanism.
"""
param = param.strip()
display_param = '**%s**' % param
Expand Down

0 comments on commit c917226

Please sign in to comment.