Skip to content

[CI] Print a summary of broken links in LinkCheck - #25634

Merged
richardliaw merged 3 commits into
ray-project:masterfrom
Yard1:linkcheck_summary
Jun 10, 2022
Merged

richardliaw merged 3 commits into
ray-project:masterfrom
Yard1:linkcheck_summary

Conversation

@Yard1

@Yard1 Yard1 commented Jun 9, 2022 •

Copy link
Copy Markdown
Member

Why are these changes needed?

This PR hooks into Sphinx linkcheck logger to print out a summary of all broken links at the end of the linkcheck. The contents of the summary are exactly the same as in the original printout.

Example output:
Screenshot 2022-06-09 at 22 55 39

Related issue number

Checks

@krfricke krfricke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM let's wait for a test run

@clarkzinzow clarkzinzow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@simon-mo simon-mo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1000000

@Yard1

Yard1 commented Jun 9, 2022

Copy link
Copy Markdown
Member Author

Linkcheck failed in CI...

but that's actually good as you can see the summary in action! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants