Commits

Georg Brandl committed 9a945cf

Fix #663: add "return type" doc field to JS domain.

  • Participants
  • Parent commits 6d9db52

Comments (0)

Files changed (1)

File sphinx/domains/javascript.py

                      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',)),
     ]