Skip to content

Conversation

jyn514
Copy link
Contributor

@jyn514 jyn514 commented Nov 18, 2020

Closes #11, fixes #38 as long as you don't pass --no-build, fixes #99 as long as you don't pass --no-build.

TODO: add better tests that can tell whether the documentation was rebuilt with CARGO_TARGET_DIR set, otherwise it will definitely regress.

@jyn514 jyn514 added S-waiting-on-author Status: Waiting on the author of this PR or issue A-cargo Area: Determining directories based on `cargo metadata` labels Nov 18, 2020
@jyn514 jyn514 force-pushed the cargo-doc branch 3 times, most recently from 38ca8d0 to 357b0ff Compare November 18, 2020 03:15
@jyn514 jyn514 removed the S-waiting-on-author Status: Waiting on the author of this PR or issue label Nov 18, 2020
@jyn514 jyn514 force-pushed the cargo-doc branch 2 times, most recently from 1323492 to 5637b86 Compare November 19, 2020 14:38
@jyn514 jyn514 force-pushed the cargo-doc branch 2 times, most recently from c4b1617 to 92073be Compare November 19, 2020 15:28
- Test broken links with `cargo-deadlinks`

  The previous test depended that cargo-deadlinks wouldn't build the docs.
  To avoid that, I switched it to use `deadlinks` instead. But that meant
  there were no tests for `cargo-deadlinks`. Add a new test for the cargo
  version.

- Add `no-build` to opt-out of running `cargo doc`
- Update changelog
This also adds a `no_build` flag, prints errors on stderr instead of
stdout, and no longer hides errors from cargo.
@jyn514 jyn514 merged commit 5ab2618 into deadlinks:master Nov 19, 2020
@jyn514 jyn514 deleted the cargo-doc branch November 19, 2020 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cargo Area: Determining directories based on `cargo metadata`
Projects
None yet
2 participants