Skip to content

Commit

Permalink
Fix sphinx config (#1483)
Browse files Browse the repository at this point in the history
Convert path-li_StrPathke object to str. Changed in sphinx>=8.

Fixes #1482.
  • Loading branch information
dweindl authored Oct 8, 2024
1 parent b091d46 commit be60f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@

# Add notebooks prolog to Google Colab and nbviewer
nbsphinx_prolog = r"""
{% set docname = 'github/icb-dcm/pypesto/blob/main/doc/' + env.doc2path(env.docname, base=None) %}
{% set docname = 'github/icb-dcm/pypesto/blob/main/doc/' + env.doc2path(env.docname, base=None)|string %}
.. raw:: html
<div class="note">
Expand Down

0 comments on commit be60f09

Please sign in to comment.