-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
automock compatibility #54
Comments
It's an interesting challenge, but not one that this package can solve on its own. |
Thanks for thinking it through @jamadden. That's about the conclusion I was coming to as well. I'm going to give https://github.com/sphinx-contrib/autoprogram/ or https://sphinx-argparse.readthedocs.io/en/stable/ a shot. Those should be running in the same python process so maybe the mocks will work there. Thanks for your time! |
I am in the same situation as readthedocs/readthedocs.org#5512: I want to run sphinx on readthedocs without having to install the entire 600MB of dependencies that my project needs.
I am using
autodoc_mock_imports
to avoid having to install my dependencies just for docs:https://github.com/neuropoly/spinalcordtoolbox/blob/67a2bdb378344a4cef828b23ba7af0debd20b8d9/documentation/source/conf.py#L50
but I'm also using
program-output::
and the mocks don't reach past it, so the build fails. Is there some special flag I can pass to python to getprogram-output::
to pick up the mocks too?Like, can I do:
?
The text was updated successfully, but these errors were encountered: