From 79462b98adfcd829a77e490d392cfe11b7275210 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Norswap\" Laurent" Date: Mon, 10 Jan 2022 16:39:37 +0100 Subject: [PATCH] make lychee work with absolute links --- .github/workflows/lint.yml | 1 + specs/deposits.md | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8277ec494..bd57e91ab 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -48,3 +48,4 @@ jobs: uses: lycheeverse/lychee-action@v1.2.0 with: fail: true + args: --base file:///github/workspace --exclude /packages/contracts/artifacts.* --verbose --no-progress **/*.md diff --git a/specs/deposits.md b/specs/deposits.md index dddb69894..b66c23baa 100644 --- a/specs/deposits.md +++ b/specs/deposits.md @@ -161,8 +161,10 @@ A reference implementation of the L1 Attributes predeploy contract can be found [L1Block.sol]: /packages/contracts/contracts/L2/L1Block.sol -The bytecode to add to the genesis file will be located in the `deployedBytecode` of the -[JSON artifact file][l1-block-artifacts] corresponding to L1Block.sol. +The bytecode to add to the genesis file will be located in the +`deployedBytecode` of the [JSON artifact file][l1-block-artifacts] corresponding +to L1Block.sol (this link will be broken unless you've built the contracts with +`yarn build` in the `packages/contracts` directory). [l1-block-artifacts]: /packages/contracts/artifacts/contracts/L2/L1Block.sol/L1Block.json