Skip to content

readthedocs: exclude sandbox and depreciated from apidoc - #623

Merged
jonwright merged 1 commit into
FABLE-3DXRD:masterfrom
jonwright:issue491
Sep 9, 2026
Merged

readthedocs: exclude sandbox and depreciated from apidoc#623
jonwright merged 1 commit into
FABLE-3DXRD:masterfrom
jonwright:issue491

Conversation

@jonwright

Copy link
Copy Markdown
Member

Fixes #491. sphinx-apidoc was scanning the whole ImageD11 package, including ImageD11/sandbox, which has modules doing top-level 'import PyTango' / 'import minuit' / 'import PyQt4' (none of them real dependencies, all listed under setup.py's 'rare' extra and absent from docs/sphx/requirements.txt). Autodoc importing those modules hung the build indefinitely rather than failing cleanly (reproduced locally: with sandbox included the build never returned; excluding it, the same build completes: "build succeeded, 149 warnings"). depreciated is excluded too since it has the same PyTango-import problem and is already excluded from the flake8 CI step for the same kind of reason.

Note: getting the readthedocs project itself re-enabled after this is a support request only the project owner can make, not a code change.

Fixes FABLE-3DXRD#491. sphinx-apidoc was scanning the whole ImageD11 package,
including ImageD11/sandbox, which has modules doing top-level
'import PyTango' / 'import minuit' / 'import PyQt4' (none of them
real dependencies, all listed under setup.py's 'rare' extra and
absent from docs/sphx/requirements.txt). Autodoc importing those
modules hung the build indefinitely rather than failing cleanly
(reproduced locally: with sandbox included the build never returned;
excluding it, the same build completes: "build succeeded, 149
warnings"). depreciated is excluded too since it has the same
PyTango-import problem and is already excluded from the flake8 CI
step for the same kind of reason.

Note: getting the readthedocs project itself re-enabled after this
is a support request only the project owner can make, not a code
change.
@jonwright
jonwright merged commit e53bfa5 into FABLE-3DXRD:master Sep 9, 2026
8 checks passed
@jonwright
jonwright deleted the issue491 branch September 9, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sandbox appears to be breaking the readthedocs build

1 participant