-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
build fails silently when conf.py is missing #11143
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
Comments
Note that the |
Thanks for the feedback. The first path These paths are just examples, we leave it up to maintainers to determine the correct path. |
And this sounds like it could be a bug with our notifications, which I believe we had trouble showing to non-maintainer users on the build detail page. If you include information on your project that would help pinpoint the error. |
I opened an issue to track this at #11146 |
Can confirm this also happened to me (my sphinx config was at The build silently exits without telling me "hey, I couldn't find a config!" |
Yeah I think the underlying issue here is the missing notification bug. Normally the error message is pretty actionable here, it states that the configuration wasn't found and what path was attempted. I'm going to close this in favor of |
Details
I used the example
.readthedocs.yaml
found here:https://docs.readthedocs.io/en/stable/config-file/v2.html#id1
Note that the sphinx configuration file path is listed as:
docs/conf.py
instead of the default path:
docs/source/conf.py
When I tried to build my project, the build could not find
conf.py
and it failed silently.I would recommend updating the documentation to use the default path so that others don't get tripped up by this.
Expected Result
The build should fail and explain why it failed: it cannot find the sphinx configuration file at
docs/conf.py
.Actual Result
The build failed and there was no indication of why it had failed.
The text was updated successfully, but these errors were encountered: