From c155fd3849b73dc63d1c6661ffcb231f414230e6 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Thu, 26 Jan 2017 17:54:10 +0100 Subject: [PATCH] doc: minimize dependencies for manual --- doc/manual/conf.py | 8 +++++++- doc/manual/requirements.txt | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 doc/manual/requirements.txt diff --git a/doc/manual/conf.py b/doc/manual/conf.py index 13ded87d9..beeef0166 100644 --- a/doc/manual/conf.py +++ b/doc/manual/conf.py @@ -28,7 +28,13 @@ class Mock(MagicMock): 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: sys.modules[module] = Mock() diff --git a/doc/manual/requirements.txt b/doc/manual/requirements.txt new file mode 100644 index 000000000..ab1296345 --- /dev/null +++ b/doc/manual/requirements.txt @@ -0,0 +1,4 @@ +sphinx_rtd_theme +sphinx-argparse +sphinxcontrib-wavedrom +pythonparser