2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

doc: remove unnecessary builtins.__in_sphinx__ hack

This commit is contained in:
Sebastien Bourdeauducq 2022-05-27 15:35:01 +08:00
parent 2c7c2d0e3d
commit 7c3d9bb376

View File

@ -20,12 +20,6 @@ from unittest.mock import Mock
import sphinx_rtd_theme
# Ensure that ARTIQ-Python types are correctly printed
# See: https://github.com/m-labs/artiq/issues/741
import builtins
builtins.__in_sphinx__ = True
# we cannot use autodoc_mock_imports (does not help with argparse)
mock_modules = ["artiq.gui.waitingspinnerwidget",
"artiq.gui.flowlayout",