|
| 1 | +# Config file for lychee link checker: <https://github.com/lycheeverse/lychee> |
| 2 | +# Run with `lychee -c .config/lychee.toml ./**/*.rs ./**/*.prdoc` |
| 3 | + |
| 4 | +cache = true |
| 5 | +max_cache_age = "1d" |
| 6 | +max_redirects = 10 |
| 7 | +max_retries = 6 |
| 8 | + |
| 9 | +# Exclude localhost et.al. |
| 10 | +exclude_all_private = true |
| 11 | + |
| 12 | +# Treat these codes as success condition: |
| 13 | +accept = [ |
| 14 | + # Ok |
| 15 | + 200, |
| 16 | + |
| 17 | + # Rate limited - GitHub likes to throw this. |
| 18 | + 429 |
| 19 | +] |
| 20 | + |
| 21 | +exclude_path = [ "./target" ] |
| 22 | + |
| 23 | +exclude = [ |
| 24 | + # Place holders (no need to fix these): |
| 25 | + "http://visitme/", |
| 26 | + "https://visitme/", |
| 27 | + |
| 28 | + # TODO <https://github.com/paritytech/polkadot-sdk/issues/134> |
| 29 | + "https://docs.substrate.io/main-docs/build/custom-rpc/#public-rpcs", |
| 30 | + "https://docs.substrate.io/rustdocs/latest/sp_api/macro.decl_runtime_apis.html", |
| 31 | + "https://github.com/ipfs/js-ipfs-bitswap/blob/", |
| 32 | + "https://github.com/paritytech/polkadot-sdk/substrate/frame/timestamp", |
| 33 | + "https://github.com/paritytech/substrate/frame/fast-unstake", |
| 34 | + "https://github.com/zkcrypto/bls12_381/blob/e224ad4ea1babfc582ccd751c2bf128611d10936/src/test-data/mod.rs", |
| 35 | + "https://polkadot.network/the-path-of-a-parachain-block/", |
| 36 | + "https://research.web3.foundation/en/latest/polkadot/BABE/Babe/#6-practical-results", |
| 37 | + "https://research.web3.foundation/en/latest/polkadot/block-production/Babe.html", |
| 38 | + "https://research.web3.foundation/en/latest/polkadot/block-production/Babe.html#-6.-practical-results", |
| 39 | + "https://research.web3.foundation/en/latest/polkadot/networking/3-avail-valid.html#topology", |
| 40 | + "https://research.web3.foundation/en/latest/polkadot/NPoS/3.%20Balancing.html", |
| 41 | + "https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html", |
| 42 | + "https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html#inflation-model", |
| 43 | + "https://research.web3.foundation/en/latest/polkadot/slashing/npos.html", |
| 44 | + "https://research.web3.foundation/en/latest/polkadot/Token%20Economics.html#inflation-model", |
| 45 | + "https://rpc.polkadot.io/", |
| 46 | + "https://w3f.github.io/parachain-implementers-guide/node/approval/approval-distribution.html", |
| 47 | + "https://w3f.github.io/parachain-implementers-guide/node/index.html", |
| 48 | + "https://w3f.github.io/parachain-implementers-guide/protocol-chain-selection.html", |
| 49 | + "https://w3f.github.io/parachain-implementers-guide/runtime/session_info.html", |
| 50 | +] |
0 commit comments