-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Wrong sphinx.configuration path causes not correct error message #8352
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
Hi @NickVeld ! The problem was here: sphinx:
configuration: docs/conf.py Your configuration is in |
Hello, @astrojuanlu Yeah, thanks for the hint! After the path fix the docs was built successfully. But the strangest thing is that the build is passed with the following setting in the Admin Web UI: |
.readthedocs.yml
creation breaks building
When not using a config file, a lot of magic happens.... Like we try to find another config file if the one you provided doesn't exist, that's for backwards compatibility. |
I see, thanks Maybe the following is better:
instead of
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@stsewd I think it's fine to close this issue. If not, what's the actionable we have to do from our side to be able to close it? |
@humitos we should raise an exception or warning if the configuration file that the user set didn't exist |
This validation should eventually happen at the Read the Docs config file. We are not there, but at least we are giving a better error message to users. Closes #8352
Details
Read the Docs project URL:
https://readthedocs.org/projects/battery-handyman/
Build URL (if applicable):
Read the Docs username (if applicable):
Expected Result
A description of what you wanted to happen
After
.readthedocs.yml
creation the build is passed too.Actual Result
A description of what actually happened
After
.readthedocs.yml
creation the build is failed becausesphinx
starts openingdocs/index.rst
instead ofdocs/source/index.rst
.From the logs of the failed build:
After
.readthedocs.yml
deletion everything works fine. See the passed build.The text was updated successfully, but these errors were encountered: