diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2018-06-04 08:49:16 -0700 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-06-04 08:49:16 -0700 |
| commit | be21add2506049b0fa3622e8404158fe8a597e6d (patch) | |
| tree | 0ca9c2d51cd7d0a761b377da179026021a34d4cf | |
| parent | c271b85130f78c21d1b8691098327318eb8ca5b0 (diff) | |
| download | astroid-git-be21add2506049b0fa3622e8404158fe8a597e6d.tar.gz | |
Allow google style docs to be built along side sphinx style docs, using napoleon extension
| -rw-r--r-- | astroid/exceptions.py | 5 | ||||
| -rw-r--r-- | doc/conf.py | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/astroid/exceptions.py b/astroid/exceptions.py index 99b6f685..1f136e8f 100644 --- a/astroid/exceptions.py +++ b/astroid/exceptions.py @@ -121,11 +121,10 @@ class InconsistentMroError(MroError): class SuperError(ResolveError): - - """Error raised when there is a problem with a super call. + """Error raised when there is a problem with a *super* call. Standard attributes: - super_: The Super instance that raised the exception. + *super_*: The Super instance that raised the exception. context: InferenceContext object. """ super_ = None diff --git a/doc/conf.py b/doc/conf.py index f214b6c9..b235b36b 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -33,6 +33,7 @@ extensions = [ 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.viewcode', + 'sphinx.ext.napoleon', ] # Add any paths that contain templates here, relative to this directory. |
