diff options
| author | Georg Brandl <georg@python.org> | 2011-09-21 10:24:16 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2011-09-21 10:24:16 +0200 |
| commit | ba5e7de9f4777c747c3d15a2b93fe066f69a09e7 (patch) | |
| tree | 531900f61e5e634f0317b4b45590407e17f32ec5 /sphinx/domains/javascript.py | |
| parent | c5ef83d3c1468899c980d5fe36f8eb706232a9dc (diff) | |
| download | sphinx-ba5e7de9f4777c747c3d15a2b93fe066f69a09e7.tar.gz | |
Fix #663: add "return type" doc field to JS domain.
Diffstat (limited to 'sphinx/domains/javascript.py')
| -rw-r--r-- | sphinx/domains/javascript.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/domains/javascript.py b/sphinx/domains/javascript.py index 73edf451..882a0107 100644 --- a/sphinx/domains/javascript.py +++ b/sphinx/domains/javascript.py @@ -127,6 +127,8 @@ class JSCallable(JSObject): can_collapse=True), Field('returnvalue', label=l_('Returns'), has_arg=False, names=('returns', 'return')), + Field('returntype', label=l_('Return type'), has_arg=False, + names=('rtype',)), ] |
