Skip to content

Commit

Permalink
Update sphinx config for sphinx8
Browse files Browse the repository at this point in the history
Not a problem yet, but this change prevents issues once we upgrade to sphinx 8 and doc2path will return something path-like.

See ICB-DCM/pyPESTO#1482
  • Loading branch information
dweindl committed Oct 8, 2024
1 parent cd56633 commit 8056f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
<div class="note">
Expand Down

0 comments on commit 8056f6f

Please sign in to comment.