rust/src/tools/linkchecker
Weihang Lo 60f17908fa
linkchecker: running from a directory separate from the book
Since rust-lang/cargo#11851, Cargo became a Cargo workspace of
itself. However, since `src/tools/linkchecker` cannot run inside
a workspace, Cargo needs a workaround that excludes `src/doc`
from workspace member probing.

To remove this hack, this PR adds a new optional argument `--path`
for `linkchecker.sh`. With this new argument, `linkchecker.sh` can
be run from a directory separate from the book. This also benefits
other projects using linkchecker, as they can run it under target
directory or any other directory, reducing leftover.
2023-04-20 09:27:52 +01:00
..
tests linkchecker: Fix bug where fragment errors printed the wrong path. 2021-06-09 08:02:14 -07:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00
linkcheck.sh linkchecker: running from a directory separate from the book 2023-04-20 09:27:52 +01:00
main.rs Remove reference from the intra-doc link checker. 2022-11-03 22:02:39 -07:00