add dev-util to import release-docs from production for local testing#3187
Merged
syphar merged 3 commits intorust-lang:mainfrom Feb 8, 2026
Merged
add dev-util to import release-docs from production for local testing#3187syphar merged 3 commits intorust-lang:mainfrom
syphar merged 3 commits intorust-lang:mainfrom
Conversation
a4fef7a to
4e414c5
Compare
Member
|
Sounds like a good idea. Please add docs. |
Member
Author
@GuillaumeGomez I now mention it in the readme. Did the command work for you too? |
GuillaumeGomez
approved these changes
Feb 8, 2026
Member
|
Yup, all good for me now, thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm currently not sure yet if this is worth the LOC,
but since building the builder & running builds is quite slow on my machine, this helps me to quickly have valid docs in a previously empty database. ( in my personal dev workflow containers / images / volumes are regularly deleted)
You can run it by just
cdinto the directory of the binary crate, and then just( the version identifier understands the same things as docs.rs semver itself).
For now it only works for successful builds, and it likely will fail for older versions.
@GuillaumeGomez what do you think? Does it work for you? I remember you also thought about something similar, but simpler.
I didn't want to add it to the
admincli, since it's not for the server, but only for local usage.