-
Notifications
You must be signed in to change notification settings - Fork 8
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
Use latest version of mdbook in CI #21
Use latest version of mdbook in CI #21
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @adamgreig (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
This is no longer the case -- mdbook 0.3.5 fixed the issue with atttributes |
@austinglaser Doesn't this one have the same regex problem as rust-embedded/debugonomicon@c6cba56 originally? |
Yes, but I was waiting for direct feedback (since rust-embedded/embedonomicon#59 was merged without comment, I was assuming that there might be different requirements regarding stability for each). I'm happy to open PRs to make this consistent across all But is that really what we want? If the goal is to avoid breaking changes, we should instead pin to |
Pinning to 0.3 is not going to prevent breakage. 0.2.2 was the breaking version so pinning to 0.2.x wouldn't have done anything. Using 0.2.1 specifically was a stopgap measure. |
I'm talking about API changes, not bugs. Certainly we won't prevent breakage if a buggy version of Regressions do demonstrably happen (rust-embedded/book#58, rust-embedded/book#211). But limiting to a semver series that shouldn't contain any breaking API changes could also be a reason to avoid blindly using the latest. 0.4 could bring breaking changes relative to 0.3, as could an eventual 1.0 release. I see three strategies for selecting an
From that standpoint, I don't see a strong reason to require across-the-board updates when |
From where I'm standing, there's not a whole lot of API which could break; it more or less boils down to HTML quality and design as well as regressions. I'm not sure whether it's more cumbersome to fix any fallout or to manually fire off a series of PRs to bump the version (and making sure they don't cause breakage) every now and then. |
If we allow it to just take the latest, there's a possibility for that series of PRs to fix potential breakage. If we pin it in any way, there will definitely be a series of PRs any time it needs to be manually bumped. I agree about your point regarding the (lack of) value in API stability as well. Which pushes me more in the direction of "just use the latest." (also apologies for the duplication between this thread and #20) |
We merged #24 which is essentially the same but had an up-to-date CI build attached and was manually inspected to work now. Kudos for your work @austinglaser. |
Fixes #20
Fixes #8
As discussed in rust-embedded/book#212, this is causing rendering differences between the rendered book from https://docs.rust-embedded.org/book/ and https://rust-embedded.github.io/book/.
Probably this shouldn't be merged until the reference PR is, as without it attributes will be erroneously hidden in some examples.