Skip to content

Commit 82871bc

Browse files
committed
Attempting the easy mocking provided within sphinx-autodoc to mock all PyDAQmx imports.
1 parent a78ed95 commit 82871bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151

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

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

0 commit comments

Comments
 (0)