mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 19:28:26 +08:00
doc: minimize dependencies for manual
This commit is contained in:
parent
6c995e1f07
commit
13912b66f3
@ -28,7 +28,13 @@ class Mock(MagicMock):
|
|||||||
return Mock()
|
return Mock()
|
||||||
|
|
||||||
|
|
||||||
mock_modules = ["artiq.gui.moninj", "quamash", "pyqtgraph", "matplotlib"]
|
mock_modules = ["artiq.gui.moninj",
|
||||||
|
"artiq.gui.waitingspinnerwidget",
|
||||||
|
"artiq.gui.flowlayout",
|
||||||
|
"quamash", "pyqtgraph", "matplotlib",
|
||||||
|
"numpy", "dateutil", "dateutil.parser", "prettytable", "PyQt5",
|
||||||
|
"h5py", "serial", "scipy", "scipy.interpolate", "asyncserial",
|
||||||
|
"llvmlite_artiq", "Levenshtein", "aiohttp"]
|
||||||
|
|
||||||
for module in mock_modules:
|
for module in mock_modules:
|
||||||
sys.modules[module] = Mock()
|
sys.modules[module] = Mock()
|
||||||
|
4
doc/manual/requirements.txt
Normal file
4
doc/manual/requirements.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
sphinx_rtd_theme
|
||||||
|
sphinx-argparse
|
||||||
|
sphinxcontrib-wavedrom
|
||||||
|
pythonparser
|
Loading…
Reference in New Issue
Block a user