From e1494c73d50db356ff8dc3caab2b1d40999a38cf Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Wed, 29 Nov 2023 11:37:30 +0100 Subject: [PATCH] .. --- documentation/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/documentation/conf.py b/documentation/conf.py index ba88b25a8d..0297c08ef8 100644 --- a/documentation/conf.py +++ b/documentation/conf.py @@ -567,7 +567,8 @@ def process_signature( return # only apply in the amici.amici module - if name.split(".")[1] != "amici": + split_name = name.split(".") + if len(split_name) < 2 or split_name[1] != "amici": return signature = fix_typehints(signature)