forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 0 additions and 6 deletions

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",