-
Notifications
You must be signed in to change notification settings - Fork 19
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
Track rustc-guide #5
Comments
Yes, that is correct. |
This would be really useful. There have already been a couple of cases where refactorings/renamings in the code were only fixed because of conscientious contributors. Automating this would be great! |
Linkcheck isn't tracked by toolstate. If you add rustc-guide as a submodule in rust-lang/rust's |
I'm pretty sure that mdbook-linkcheck does absolute links as well. Is that not the tool being used?
Is there any way to get toolstate to check it? @nikomatsakis Any thoughts about making rustc-guide a submodule or moving it to the rust repo altogether? Personally, I think submodules might be a viable option, but we would need to keep making PRs to update the submodule version... I would like to avoid outright moving the book to the rust repo because that would mean having to run the entire compiler CI sweet on PRs, which seems ... er... unpleasant... |
@mark-i-m No we have our own linkchecker... perhaps you could replace it with the mdbook one 🙃 If you could define an |
Hmm... I'm currently a bit swamped, but this could be a good beginner issue... Perhaps we should advertise on twir? |
@kennytm @nikomatsakis Would the following be an acceptable course of action?
If this sounds reasonable, I think we could make it a quest issue and advertise it on This Week in Rust. Thoughts? |
SGTM, but step 4 should be executed inside For |
Perhaps @Michael-F-Bryan has thoughts about this? |
Are you talking about the file layout where you'll have the docs for I added a flag (disabled by default) which will allow relative links to go outside of the book root and then check that the file exists. I haven't used it much in the past though, so we may need to tweak the link resolution logic.
|
Well I was replying to "(maybe replace our linkchecker with that one?)". Since So, we'd use |
Hmm... that seems feasible. Shall I create a tracking issue on rust-lang/rust or here? |
rustc-guide is now being tracked in toolstate, so I think this can be closed. |
rustc-guide has a number of links into the nightly docs. We have a "linkcheck" that checks that these links are valid (right @mark-i-m?). I would like it if we were notified when people do refactorings that break those links, so we can go and update the rustc-guide appropriately.
The text was updated successfully, but these errors were encountered: