diff --git a/wsmeext/sphinxext.py b/wsmeext/sphinxext.py index 749fd3a..6b3da2a 100644 --- a/wsmeext/sphinxext.py +++ b/wsmeext/sphinxext.py @@ -374,7 +374,7 @@ class FunctionDirective(PyMethod): objtype = 'function' def get_signature_prefix(self, sig): - return 'function ' + return [] def document_function(funcdef, docstrings=None, protocols=['restjson']):