mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 19:28:26 +08:00
doc: remove unnecessary builtins.__in_sphinx__ hack
This commit is contained in:
parent
2c7c2d0e3d
commit
7c3d9bb376
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user