From 16eeb351273ab2773848cb26068498daf36e085e Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 5 Sep 2023 11:29:44 +0100 Subject: [PATCH] Fix compatibility with recent Sphinx versions Change-Id: Ib8bdcb82c595e4f19df224834fe102425cb0f271 Signed-off-by: Stephen Finucane --- wsmeext/sphinxext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']):