diff --git a/artiq/coredevice/sampler.py b/artiq/coredevice/sampler.py
index 8f9997e20..f12cc16ac 100644
--- a/artiq/coredevice/sampler.py
+++ b/artiq/coredevice/sampler.py
@@ -21,7 +21,7 @@ def adc_mu_to_volt(data, gain=0, corrected_fs=True):
     :param data: 16 bit signed ADC word
     :param gain: PGIA gain setting (0: 1, ..., 3: 1000)
     :param corrected_fs: use corrected ADC FS reference.
-    Should be True for Samplers' revisions after v2.1. False for v2.1 and earlier.
+        Should be True for Samplers' revisions after v2.1. False for v2.1 and earlier.
     :return: Voltage in Volts
     """
     if gain == 0:
diff --git a/doc/manual/conf.py b/doc/manual/conf.py
index 7e06ea680..af1f56e82 100644
--- a/doc/manual/conf.py
+++ b/doc/manual/conf.py
@@ -34,6 +34,7 @@ mock_modules = ["artiq.gui.waitingspinnerwidget",
                 "artiq.gui.models",
                 "artiq.compiler.module",
                 "artiq.compiler.embedding",
+                "artiq.dashboard.waveform",
                 "qasync", "pyqtgraph", "matplotlib",
                 "numpy", "dateutil", "dateutil.parser", "prettytable", "PyQt5",
                 "h5py", "serial", "scipy", "scipy.interpolate",