Fix compatibility with recent Sphinx versions
Change-Id: Ib8bdcb82c595e4f19df224834fe102425cb0f271 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
df53eb5f1e
commit
3dea4ad5fd
|
@ -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']):
|
||||
|
|
Loading…
Reference in New Issue