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 | 1f59194ee341182e8071d58743442213ab810dbe (patch) | |
tree | 531900f61e5e634f0317b4b45590407e17f32ec5 /sphinx/domains/javascript.py | |
parent | e74a5541df69b696d3c99c6cd1fa9963f22f824a (diff) | |
download | sphinx-git-1f59194ee341182e8071d58743442213ab810dbe.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 73edf4515..882a01074 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',)), ] |