From 8056f6f47d87fdf098e4e0234f83cdcfdaa03aab Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Tue, 8 Oct 2024 09:47:15 +0200 Subject: [PATCH] Update sphinx config for sphinx8 Not a problem yet, but this change prevents issues once we upgrade to sphinx 8 and doc2path will return something path-like. See https://github.com/ICB-DCM/pyPESTO/issues/1482 --- documentation/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/conf.py b/documentation/conf.py index 3f867e0a3a..c86a145f9d 100644 --- a/documentation/conf.py +++ b/documentation/conf.py @@ -215,7 +215,7 @@ def install_doxygen(): nbsphinx_prolog = ( f"{{% set {ref=} %}}" r""" - {% set docname = "documentation/" + env.doc2path(env.docname, base=False) %} + {% set docname = "documentation/" + env.doc2path(env.docname, base=False)|string %} .. raw:: html