Hosting Rust crate documentation with Nginx
(kdwarn.net)
from kdwarn@programming.dev to rust@programming.dev on 22 Apr 2024 13:49
https://programming.dev/post/13106327
from kdwarn@programming.dev to rust@programming.dev on 22 Apr 2024 13:49
https://programming.dev/post/13106327
Docs.rs is great, but if you want to host yourself it’s pretty easy.
threaded - newest
Or use kellnr.io to host your crates. It automatically builds the corresponding docs and hosts them for you. Disclaimer: I’m the author.
I’m sold.
FYI you get that with self-hosting Rust docs too.
Yup, but crates.io doesn’t have a dark theme. Fortunately
cargo search
exists though.Ah, I see. If you want a whole registry.
I meant for the private and cached packages, not a full mirror. Having at least dark mode on all parts of the UI, not just the docs, is nice, and I wish crates.io supported it.
I don’t care about dark mode enough to mirror all of crates.io, I’d rather just use a browser addon on to toggle the background and text.