diff options
| author | Rob Ruana <rob@robruana.com> | 2015-11-17 20:13:55 -0800 |
|---|---|---|
| committer | Rob Ruana <rob@robruana.com> | 2015-11-17 20:13:55 -0800 |
| commit | e926ebb263435b3a6ea2c57ddddd3eae4bd2a7d6 (patch) | |
| tree | b1a7ddb8e885dce50c432dba8b8e13ec6e87b914 /doc/ext/example_numpy.py | |
| parent | 4061e3244d5ebd93d6dd71f1e979629dbf760333 (diff) | |
| download | sphinx-git-e926ebb263435b3a6ea2c57ddddd3eae4bd2a7d6.tar.gz | |
Updates #2053 [Napoleon] Updates documentation to indicate napoleon_include_special_with_doc = True by default
Diffstat (limited to 'doc/ext/example_numpy.py')
| -rw-r--r-- | doc/ext/example_numpy.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/ext/example_numpy.py b/doc/ext/example_numpy.py index 68bc9d289..bb91cac82 100644 --- a/doc/ext/example_numpy.py +++ b/doc/ext/example_numpy.py @@ -286,16 +286,17 @@ class ExampleClass(object): return True def __special__(self): - """By default special members with docstrings are included. + """By default special members with docstrings are not included. Special members are any methods or attributes that start with and end with a double underscore. Any special member with a docstring - will be included in the output. + will be included in the output, if + ``napoleon_include_special_with_doc`` is set to True. - This behavior can be disabled by changing the following setting in + This behavior can be enabled by changing the following setting in Sphinx's conf.py:: - napoleon_include_special_with_doc = False + napoleon_include_special_with_doc = True """ pass |
