-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Make Sphinx autodoc work #156
Comments
I've tried to follow the guidelines at readthedocs/readthedocs.org#4912 (comment) and also had a look at python-poetry/poetry#754. |
InvestigationTLDR; There might be an OOM issue when installing the project and its dependencies, which is required for a Autodoc environment to work out of the box. Apparently, there is also Sphinx AutoAPI, which does not have these requirements. DetailsThere's a comment by @stsewd at readthedocs/readthedocs.org#5847 (comment):
After @tlvu commented at readthedocs/readthedocs.org#5847 (comment):
Also, @humitos chimed in at readthedocs/readthedocs.org#5847 (comment):
|
However, in our case https://readthedocs.org/projects/wetterdienst/builds/ currently does not show any build errors at all, right? |
When investigating the latest build at https://readthedocs.org/projects/wetterdienst/builds/11887538/ more thoroughly, these things can be observed:
|
I've tried to reproduce this on my machine by using a fresh Poetry environment for this project after wiping the old one using Then, I tried to go for the module mocking thing using After some complaints leading to f71ed0e and 34433d9, things started to work. Enjoy https://wetterdienst.readthedocs.io/en/latest/pages/library/api.html. |
We found at #153 (comment) that
sphinx.ext.autodoc
does not work on RTD yet, see Module library > API.From the past, I know this is mostly a matter of getting the package itself installed properly into the Python environment where Sphinx will be building the documentation. When doing that, there's usually no way around also installing all its dependencies, which occasionally has problems within (restricted) CI environments.
The text was updated successfully, but these errors were encountered: