Skip to content

Commit 7d1da91

Browse files
committed
doc: exclude the test unit modules from the API documentation
1 parent f8946f8 commit 7d1da91

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,11 @@ def run(self):
106106
"--module-first",
107107
"--output-dir", "doc/api",
108108
"microscope",
109-
"microscope/win32.py"]) # skip win32 so docs will build on other platforms.
109+
# exclude win32 so docs will build on other platforms
110+
"microscope/win32.py",
111+
# exclude the test unit modules
112+
"microscope/testsuite/test_*"
113+
])
110114

111115
with unittest.mock.patch('ctypes.CDLL', new=cdll_diversion):
112116
super().run()

0 commit comments

Comments
 (0)