tlsnotary / docs-mdbook

TLSNotary Documentation created with mdBook
https://docs.tlsnotary.org
4 stars 8 forks source link

Added a link-checker to the build #18

Closed heeckhau closed 1 year ago

heeckhau commented 1 year ago

15

heeckhau commented 1 year ago

Just tested: the test fails when there is a broken link

image
2023-08-04 07:19:13 [INFO] (mdbook::book): Running the linkcheck backend
2023-08-04 07:19:13 [INFO] (mdbook::renderer): Invoking the "linkcheck" renderer
error: File not found: /mpc/broken_link.md
  ┌─ protocol/notarization/commitment.md:9:74
  │
9 │ [^commitment_scheme] For technical details on the commitment scheme, see [Commitment scheme](/mpc/broken_link.md)
  │                                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File not found: /mpc/broken_link.md

Error: One or more incorrect links
Error: -04 07:19:13 [ERROR] (mdbook::renderer): Renderer exited with non-zero return code.
Error: -04 07:19:13 [ERROR] (mdbook::utils): Error: Rendering failed
Error: -04 07:19:13 [ERROR] (mdbook::utils):    Caused By: The "linkcheck" renderer failed
Error: Process completed with exit code [10](https://github.com/tlsnotary/docs-mdbook/actions/runs/5759549408/job/15613829095#step:8:11)1.