Live Refreshing Cargo Docs
rustdoc
is a great tool, but as of now there isn’t an official way to have its generated docs refresh as you make edits. Running cargo doc
with the --open
argument will open the generated docs in browser window. If you make changes to your source code, you’ll need to re-run cargo doc
to have the changes reflected in your browser. By chaining together a few other Rust tools, we can pretty easily get the functionality of live-reloading docs.