Skip to content

Commit 4f8f41a

Browse files
authored
fix: lychee root dir errors (#6656)
1 parent 4e638cd commit 4f8f41a

File tree

16 files changed

+72
-90
lines changed

16 files changed

+72
-90
lines changed

.config/lychee.toml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,13 @@
44

55
verbose = "debug"
66
no_progress = true
7-
exclude_path = ["./node_modules", "./docs/node_modules", "./documentation", "./target"]
7+
# docs are checked via Docusaurus link checker, so we can skip them here
8+
exclude_path = ["./node_modules", "./target", "./docs/", "./build"]
89
exclude = [
910
# Avoid Github rate limits
1011
"github.com/ChainSafe/forest",
11-
# Requires CAPTCHA verification
12-
"faucet.calibnet.chainsafe-fil.io/funds.html",
13-
# Bot protection
14-
"jwt.io",
15-
"forest-explorer.chainsafe.dev",
1612
# Maybe temporarily down with 404, but it blocks the CI
1713
"filecoin.io/slack",
18-
# Bot protection / 403 Forbidden errors
19-
"crates.io",
20-
# Bot protection / 403 Forbidden errors
21-
"linuxhint.com",
22-
# Bot protection / 403 Forbidden errors
23-
"wikipedia.org",
24-
# Probably bot protection / 404 but works in browser
25-
"ubuntu.com",
26-
# Bot protection / 403 Forbidden errors
27-
"beryx.io/faucet",
28-
# Frequent timeouts
29-
"curiostorage.org",
30-
# Bot protection / 403 Forbidden errors
31-
"probelab.io",
32-
# Bot protection / 403 Forbidden errors
33-
"beryx.io",
3414
]
3515
timeout = 30
3616
max_retries = 6

.github/workflows/link-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
id: lychee
3737
uses: lycheeverse/lychee-action@v2
3838
with:
39-
args: --user-agent "curl/8.5.0" --no-progress --config ./.config/lychee.toml './**/*.md' './**/*.mdx' './**/*.html'
39+
args: --user-agent "curl/8.5.0" --no-progress --config ./.config/lychee.toml './*.md' './AGENTS.md'
4040

4141
- name: Create Issue From File
4242
if: env.lychee_exit_code != 0 && github.event_name == 'schedule'

docs/docs/developers/guides/rpc_stateful_tests.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ The goal is to ensure that Forest now passes all the existing scenarios. These s
5050

5151
To extend test coverage for another RPC method or cover more semantics:
5252

53-
1. Add the RPC method to Forest if not yet implemented, following the guidance in [RPC compatibility guide](./rpc_api_compatibility.md).
54-
2. Create a new test scenario in:
55-
[`stateful_tests.rs`](../../../../src/tool/subcommands/api_cmd/stateful_tests.rs)
53+
1. Add the RPC method to Forest if not yet implemented, following the guidance in [RPC compatibility guide](./rpc_api_compatibility).
54+
2. Create a new test scenario in the `src/tool/subcommands/api_cmd/stateful_tests.rs` file
5655
3. Your internal test function should return `Ok(())` on success. Use `anyhow::Result` for error handling.
5756

5857
Ensure the test behaves consistently on both Lotus and Forest nodes.

docs/docs/users/filecoin_services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ You can check the status of many ChainSafe services at [status.chainsafe.dev](ht
8989
:::
9090

9191
:::info
92-
Questions? Issues? Feedback? [Connect with the Forest team](./introduction.md#connect-with-us).
92+
Questions? Issues? Feedback? [Connect with the Forest team](/#connect-with-us).
9393

9494
We are also active on the following channels on the [Filecoin Slack](https://filecoin.io/slack). Reach out to us for any questions or issues:
9595

docs/docs/users/getting_started/syncing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Syncing from genesis (tipset 0) is generally infeasible.
1111

1212
:::
1313

14-
Once started, Forest will connect to the bootstrap peers and in parallel fetch the latest snapshot from [Forest's snapshot service](../knowledge_base/snapshot_service.md). Once the snapshot is downloaded, it will be loaded into the node, and then syncing will continue by utilizing its peers.
14+
Once started, Forest will connect to the bootstrap peers and in parallel fetch the latest snapshot from [Forest's snapshot service](../knowledge_base/snapshot_service). Once the snapshot is downloaded, it will be loaded into the node, and then syncing will continue by utilizing its peers.
1515

1616
### Mainnet
1717

docs/docs/users/guides/advanced/backups.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ recommended outside development.
5959

6060
### CLI reference
6161

62-
Details on the `forest-tool backup` command and its subcommands can be found at the [CLI reference](../../reference/cli.md#forest-tool-backup).
62+
Details on the `forest-tool backup` command and its subcommands can be found at the [CLI reference](../../reference/cli#forest-tool-backup).

docs/docs/users/guides/advanced/generating_snapshots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ expect a file of over 5 GB. Note that the snapshot size grows over time.
3838

3939
### CLI reference
4040

41-
Details on the `forest-cli snapshot export` command and its subcommands can be found at the [CLI reference](../../reference/cli.md#forest-cli-snapshot).
41+
Details on the `forest-cli snapshot export` command and its subcommands can be found at the [CLI reference](../../reference/cli#forest-cli-snapshot).

docs/docs/users/guides/exporting_wallet_to_metamask.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This guide walks you through exporting a Forest wallet (`f4` address) to MetaMas
2323

2424
:::info
2525

26-
You can list your wallets and their balances using `forest-wallet list`. Make sure to identify the correct `f4` address you want to export. Refer to the [wallets guide](./interacting_with_wallets.md) for more details on managing wallets in Forest.
26+
You can list your wallets and their balances using `forest-wallet list`. Make sure to identify the correct `f4` address you want to export. Refer to the [wallets guide](./interacting_with_wallets) for more details on managing wallets in Forest.
2727

2828
:::
2929

@@ -97,5 +97,5 @@ MetaMask displays addresses in Ethereum format (`0x...`). This is normal - it's
9797

9898
## Related Resources
9999

100-
- [Interacting with Wallets](./interacting_with_wallets.md)
100+
- [Interacting with Wallets](./interacting_with_wallets)
101101
- [Filecoin Address Types](https://docs.filecoin.io/smart-contracts/filecoin-evm-runtime/address-types)

docs/docs/users/guides/methods_filtering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sidebar_position: 4
1010
When running a Filecoin node, you might want to restrict the RPC methods that are available to the clients. This can be useful for security reasons, to limit the exposure of the node to the internet, or to reduce the load on the node by disabling unnecessary methods.
1111

1212
:::note
13-
[JWT authentication](../knowledge_base/jwt_handling.md) is a different way to restrict access to the node. It allows you to authorize certain operations on the node using JWTs. However, JWT restrictions are hard-coded in the node and cannot be changed dynamically. If you want to make sure that a certain read-only method is not available to the clients, you can use the method filtering feature.
13+
[JWT authentication](../knowledge_base/jwt_handling) is a different way to restrict access to the node. It allows you to authorize certain operations on the node using JWTs. However, JWT restrictions are hard-coded in the node and cannot be changed dynamically. If you want to make sure that a certain read-only method is not available to the clients, you can use the method filtering feature.
1414

1515
The methods are first filtered by the method filtering feature, and then the JWT authentication is applied. If a method is disallowed by the method filtering, the JWT token will not be checked for this method.
1616
:::

docs/docs/users/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Forest consists of multiple binaries:
4040
- `forest-tool` - Utilities for maintaining and debugging Forest
4141
- `forest-wallet` - Manage the built-in wallet
4242

43-
Check out the [CLI docs](./reference/cli.md) for more details.
43+
Check out the [CLI docs](./reference/cli) for more details.
4444

4545
## Roadmap Updates
4646

0 commit comments

Comments
 (0)