Skip to content

Commit 4330e55

Browse files
committed
DOCS: add mock for possible top-level import on readthedocs
1 parent 152cb27 commit 4330e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
]
246246

247247
# This allows skipping the build process because the object library is never required
248-
autodoc_mock_imports = ["spirit.spiritlib"]
248+
autodoc_mock_imports = ["spirit.spiritlib", "spiritlib"]
249249

250250

251251
def pre_build_hook(_):

0 commit comments

Comments
 (0)