-
Notifications
You must be signed in to change notification settings - Fork 3
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
Let RTD fail on warnings #8
Comments
You can also just modify the Makefile in the project directly and add |
RTD does not call the Makefile, it directly invokes I think I can also be convinced to add the config yaml file to all repos, since it will just sit there and probably does not need to be modified much. Other things will be added too, since using the file will cause RTD to ignore all settings we configured on the web. That includes the following:
There are probably more that we want to migrate from the web interface. |
Ahh, you are right, I forgot that it ignored it. In any case, it would make sense to include it in the Makefile if we are introducing this in the RTD build. I am also fine with adding the RTD config file to the repos. |
I have added the nitpicky option as part of #9, I think this will go a long way since it will show any missing links as red during the build process, so hopefully people are checking this locally. Having the CI fail based on this would be the next step, but it is annoying that this cannot be configured from Python/Makefile, only from the YAML file. |
Description of feature
Ideally, we turn on
nitpicky
and convert all warnings to errors.Potential solution
The first is easy to do since we can do it in
conf.py
, but not the latter which is only supported viaSPHINXOPTS = -W --keep-going
.AFAIK the only way to do the second would be to set this option in a configuration file, which will be annoying since we'd have to add it to every single docs repo.
Alternatively, we can easily add another CI job which just installs the docs dependencies, builds the docs, and exits with the correct exit code. There will be some duplication but maybe that's a good compromise?
The text was updated successfully, but these errors were encountered: