Closed SteveLauC closed 2 months ago
Closes #2271
I found myself repeatedly opening that issue to copy the command to build the doc:
RUSTDOCFLAGS='--cfg docsrs' cargo +nightly doc --all-features --no-deps --open
Let's wrap these commonly-used commands in a justfile.
This PR adds that doc command, now, to build the doc, one can simply run:
$ just doc
It passes the arguments to the underlying cargo doc (*args=''), so wen can use just doc --open to open the doc.
cargo doc
*args=''
just doc --open
CONTRIBUTING.md
What does this PR do
Closes #2271
I found myself repeatedly opening that issue to copy the command to build the doc:
Let's wrap these commonly-used commands in a justfile.
This PR adds that doc command, now, to build the doc, one can simply run:
It passes the arguments to the underlying
cargo doc
(*args=''
), so wen can usejust doc --open
to open the doc.Checklist:
CONTRIBUTING.md