From 1bfe977203c65dcaf1e1ba3849bca7655cbf3700 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 7 Oct 2020 19:25:26 +0800 Subject: [PATCH] manual: sphinx mock module whack-a-mole --- doc/manual/conf.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/manual/conf.py b/doc/manual/conf.py index 266426c78..13c1b7394 100644 --- a/doc/manual/conf.py +++ b/doc/manual/conf.py @@ -30,12 +30,19 @@ autodoc.repr = inspect.repr = str # we cannot use autodoc_mock_imports (does not help with argparse) mock_modules = ["artiq.gui.waitingspinnerwidget", "artiq.gui.flowlayout", + "artiq.gui.state", + "artiq.gui.log", + "artiq.gui.models", "artiq.compiler.module", "artiq.compiler.embedding", + "artiq.dashboard", "quamash", "pyqtgraph", "matplotlib", "numpy", "dateutil", "dateutil.parser", "prettytable", "PyQt5", "h5py", "serial", "scipy", "scipy.interpolate", - "llvmlite_artiq", "Levenshtein", "pythonparser", "sipyco"] + "llvmlite_artiq", "Levenshtein", "pythonparser", + "sipyco", "sipyco.pc_rpc", "sipyco.sync_struct", + "sipyco.asyncio_tools", "sipyco.logging_tools", + "sipyco.broadcast", "sipyco.packed_exceptions"] for module in mock_modules: sys.modules[module] = Mock()