Skip to content

Commit 3bd0c62

Browse files
committed
doc/conf.py: mock picamera and RPi imports to build picamera documentation.
1 parent 96b7e10 commit 3bd0c62

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@
3333
"sphinx.ext.viewcode",
3434
]
3535

36-
# autodoc_mock_imports = ["microscope._wrappers"]
36+
autodoc_mock_imports = [
37+
# "microscope._wrappers",
38+
"picamera",
39+
"picamera.array",
40+
"RPi"
41+
]
3742

3843
# Configuration for sphinx.ext.todo
3944
todo_include_todos = True

0 commit comments

Comments
 (0)