Skip to content

(Small) Fix broken links for Rust merge #10604

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

Merged
merged 1 commit into from
Apr 7, 2023

Conversation

blyxyas
Copy link
Member

@blyxyas blyxyas commented Apr 6, 2023

rust-lang/rust#110003's CI is currently broken because of broken links. This PR fixes that.
It was tested against lintcheck and found another broken link in usage.md (apart from CI's broken links)

changelog:Fix broken links in the book
Sorry for putting more work on you, but you're the one doing the Rust PR
r? @flip1995

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 6, 2023
@blyxyas blyxyas force-pushed the fix-book_broken_links branch from 2b51777 to cf260bc Compare April 6, 2023 20:02
@flip1995
Copy link
Member

flip1995 commented Apr 7, 2023

Thanks, this fixes the issue. Let's merge it here and I'll re-do the sync including this commit.

@bors r+ p=1

@bors
Copy link
Contributor

bors commented Apr 7, 2023

📌 Commit cf260bc has been approved by flip1995

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Apr 7, 2023

⌛ Testing commit cf260bc with merge 592ea39...

@bors
Copy link
Contributor

bors commented Apr 7, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 592ea39 to master...

@bors bors merged commit 592ea39 into rust-lang:master Apr 7, 2023
[CI]: continuous_integration/index.md
[CI]: continuous_integration/README.md
Copy link
Member

Choose a reason for hiding this comment

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

Looks like this change caused a new issue: rust-lang/rust#110003 (comment)

Copy link
Member Author

@blyxyas blyxyas Apr 10, 2023

Choose a reason for hiding this comment

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

I have no idea how to fix it then.
index.html didn't work (even though it's the URL from the book leading to that section), and README.md also doesn't work, even though it appears like that on SUMMARY.md. What more could it be?

Even then, all link's were checked with the mdbook-linkcheck crate before committing them. Could this be a bug in CI?

Copy link
Member

Choose a reason for hiding this comment

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

I'm also out of ideas what could cause this. I'll make sure that we're using the same mdbook version in Clippy as in the Rust repo. Maybe some version difference broke something?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

I think I had the same issue before, when I finalized the first version of the book. Links to README.mds inside the book are a bit weird...

@blyxyas blyxyas deleted the fix-book_broken_links branch October 5, 2023 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants