-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[MNT]: Write a bot to post doc build issues #22176
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
is this closed by #23868? |
As it turns out, the sections added in #23868 don't actually run on failed doc builds, rendering them ineffective. (They do run on successful doc builds, not that it says anything other than "no errors or warnings") See, for example this run for which the doc build failed, but no such separate job for pulling out the errors/warnings. I believe @QuLogic is planning on implementing a more full solution in the near term, including a bot-generated comment on the PR (correct me if I'm wrong/misremembering a conversation) |
Yes, and thinking about it since then, I think I have a simpler (in some ways) solution than we discussed, but I haven't fully tested it out yet. |
Agreed that they do not solve it. Not really clear why it is not executed though... Just want to point out that it would also be good if a solution that writes back a GH comment also takes any deprecations into account. That part of the code actually seems to work as it should... |
I think I figured out the issue... |
Summary
When doc builds fail, most of the time it's due to ReST formatting or referencing issues.
Most issues have a form similar to
My standard way to find out the error is:
This is cumbersome and not very discoverable for new contributors.
Proposed fix
It would be great to have a bot post these warnings if CicleCI fails. I assume that would cover 95% of doc build failures and point contributors (new and experienced) to the problem so that they can solve it faster.
The text was updated successfully, but these errors were encountered: