Skip to content

Commit

Permalink
Fix doc build error (#1221)
Browse files Browse the repository at this point in the history
Apparently doc2path now returns a path not a string
  • Loading branch information
zsol authored Oct 10, 2024
1 parent 527a4b0 commit 42df088
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True


# -- autodoc customization
def strip_class_signature(app, what, name, obj, options, signature, return_annotation):
if what == "class":
Expand All @@ -218,7 +219,7 @@ def setup(app):


nbsphinx_prolog = r"""
{% set docname = 'docs/source/' + env.doc2path(env.docname, base=None) %}
{% set docname = 'docs/source/' + env.doc2path(env.docname, base=None)|string%}
.. only:: html
Expand Down

0 comments on commit 42df088

Please sign in to comment.