Skip to content

Commit 42df088

Browse files
authored
Fix doc build error (#1221)
Apparently doc2path now returns a path not a string
1 parent 527a4b0 commit 42df088

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@
196196
# If true, `todo` and `todoList` produce output, else they produce nothing.
197197
todo_include_todos = True
198198

199+
199200
# -- autodoc customization
200201
def strip_class_signature(app, what, name, obj, options, signature, return_annotation):
201202
if what == "class":
@@ -218,7 +219,7 @@ def setup(app):
218219

219220

220221
nbsphinx_prolog = r"""
221-
{% set docname = 'docs/source/' + env.doc2path(env.docname, base=None) %}
222+
{% set docname = 'docs/source/' + env.doc2path(env.docname, base=None)|string%}
222223
223224
.. only:: html
224225

0 commit comments

Comments
 (0)