Skip to content

Commit c144cb0

Browse files
committed
Mock labscript_utils to prevent h5_lock imports from preventing autodoc
importing things on RTD.
1 parent 999107d commit c144cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
autodoc_typehints = 'description'
5353
autoclass_content = 'both' # options: 'both', 'class', 'init'
54-
autodoc_mock_imports = ['PyDAQmx']
54+
autodoc_mock_imports = ['PyDAQmx','labscript_utils']
5555

5656
# Prefix each autosectionlabel with the name of the document it is in and a colon
5757
autosectionlabel_prefix_document = True

0 commit comments

Comments
 (0)