Skip to content

Commit 1aecd07

Browse files
authored
feat: add linkcheck (#1046)
1 parent 6be8e1e commit 1aecd07

File tree

11 files changed

+71
-18
lines changed

11 files changed

+71
-18
lines changed

.github/workflows/linkcheck.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Link Check
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
9+
jobs:
10+
linkcheck:
11+
name: Link Check
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Setup Node
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: "20"
20+
cache: "npm"
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Build site
26+
run: npm run build
27+
28+
- name: Start preview server
29+
run: npm run preview &
30+
env:
31+
HOST: 0.0.0.0
32+
33+
- name: Wait for server
34+
run: sleep 15
35+
36+
- name: Link Checker
37+
uses: lycheeverse/lychee-action@v2
38+
with:
39+
format: "markdown"
40+
args: "./src/content/Docs/ --verbose --base http://localhost:4321 --accept 200,301,302"

.lycheeignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# gRPC servers (return 415 Unsupported Media Type for HTTP GET)
2+
https?://grpc\.akashnet\.net.*
3+
https?://grpc\.sandbox[^/]*\.aksh\.pw.*
4+
# Localhost example URLs in code (NOT port 4321 — that's our preview server for the check)
5+
https?://localhost:1317.*
6+
https?://localhost:26657.*
7+
https?://localhost:9090.*
8+
https?://127\.0\.0\.1:(1317|26657|9090).*
9+
# Docker Hub redirects (302)
10+
https?://hub\.docker\.com.*
11+
# Guide assets that may not be at same path in built output
12+
linkedin-roast-upload\.png
13+
linkedin-roast-result\.png

src/content/Docs/api-documentation/console-api/getting-started/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ async function apiRequestWithErrorHandling<T>(
673673
- ⚠️ **Credit card payment only** - Cannot use existing AKT
674674
- ⚠️ **Managed wallet** - No direct blockchain access
675675

676-
**For production deployments without time limits**, use the [Akash SDK](/docs/extend/sdk) or [CLI](/docs/developers/deployment/cli) with your own wallet.
676+
**For production deployments without time limits**, use the [Akash SDK](/docs/api-documentation/sdk) or [CLI](/docs/developers/deployment/cli) with your own wallet.
677677

678678
---
679679

src/content/Docs/api-documentation/sdk/authz-feegrant/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,8 +876,8 @@ async function checkAndExecute(client, granterAddr, granteeAddr) {
876876

877877
## Additional Resources
878878

879-
- **Cosmos SDK AuthZ:** [docs.cosmos.network/main/modules/authz](https://docs.cosmos.network/main/modules/authz)
880-
- **Cosmos SDK FeeGrant:** [docs.cosmos.network/main/modules/feegrant](https://docs.cosmos.network/main/modules/feegrant)
879+
- **Cosmos SDK AuthZ:** [docs.cosmos.network/sdk/v0.53/build/modules/authz](https://docs.cosmos.network/sdk/v0.53/build/modules/authz/README)
880+
- **Cosmos SDK FeeGrant:** [docs.cosmos.network/sdk/v0.53/build/modules/feegrant](https://docs.cosmos.network/sdk/v0.53/build/modules/feegrant/README)
881881
- **Discord:** [discord.akash.network](https://discord.akash.network) - #developers channel
882882

883883
---

src/content/Docs/developers/deployment/akash-sdl/examples-library/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ The Awesome Akash repository welcomes contributions from the community!
314314

315315
- **Discord:** [discord.akash.network](https://discord.akash.network) - `#deployments` channel
316316
- **GitHub Issues:** [Report problems](https://github.com/akash-network/awesome-akash/issues)
317-
- **GitHub Discussions:** [Ask questions](https://github.com/akash-network/awesome-akash/discussions)
317+
- **Discord:** [Ask questions](https://discord.akash.network) (#developers)
318318

319319
### Share Your Deployments
320320

src/content/Docs/developers/deployment/authz/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,8 +676,8 @@ provider-services tx authz grant <contractor-address> generic \
676676

677677
## Additional Resources
678678

679-
- **Cosmos SDK AuthZ Module:** [docs.cosmos.network/main/modules/authz](https://docs.cosmos.network/main/modules/authz)
680-
- **Cosmos SDK FeeGrant Module:** [docs.cosmos.network/main/modules/feegrant](https://docs.cosmos.network/main/modules/feegrant)
679+
- **Cosmos SDK AuthZ Module:** [docs.cosmos.network/sdk/v0.53/build/modules/authz](https://docs.cosmos.network/sdk/v0.53/build/modules/authz/README)
680+
- **Cosmos SDK FeeGrant Module:** [docs.cosmos.network/sdk/v0.53/build/modules/feegrant](https://docs.cosmos.network/sdk/v0.53/build/modules/feegrant/README)
681681
- **Akash GitHub:** [github.com/akash-network/node](https://github.com/akash-network/node)
682682
- **Discord:** [discord.akash.network](https://discord.akash.network) - #developers channel
683683

src/content/Docs/node-operators/architecture/api-layer/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ http://localhost:1317/swagger/
13411341

13421342
- [gRPC Documentation](https://grpc.io/docs/)
13431343
- [CometBFT RPC Reference](https://docs.cometbft.com/v0.38/rpc/)
1344-
- [Cosmos SDK gRPC Docs](https://docs.cosmos.network/main/build/building-apps/grpc)
1344+
- [Cosmos SDK gRPC Docs](https://docs.cosmos.network/sdk/v0.53/learn/advanced/grpc_rest)
13451345
- [Akash API Repository](https://github.com/akash-network/akash-api)
13461346
- [Protocol Buffer Definitions](https://buf.build/akash-network)
13471347

src/content/Docs/node-operators/validators/omnibus/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Before starting, ensure you have:
3333

3434
1. **Akash Wallet**
3535
- Funded with 50+ AKT for deployment deposits
36-
- See [Akash CLI Installation](/docs/deployments/akash-cli/installation)
36+
- See [Akash CLI Installation](/docs/developers/deployment/cli/installation-guide)
3737

3838
2. **S3 Storage Account**
3939
- FileBase account (free tier available)

src/content/Docs/node-operators/validators/tmkms-stunnel/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Before starting, ensure you have:
7171

7272
### 1. Akash Wallet
7373
- Funded with 50+ AKT for deployment deposits
74-
- See [Akash CLI Installation](/docs/deployments/akash-cli/installation)
74+
- See [Akash CLI Installation](/docs/developers/deployment/cli/installation-guide)
7575

7676
### 2. Separate TMKMS Server
7777
- **OS:** Ubuntu 20.04+ or 22.04 LTS
@@ -688,7 +688,7 @@ akash tx staking create-validator \
688688
akash query staking validator $(akash keys show $AKASH_KEYNAME --bech val -a)
689689
```
690690

691-
Check on [Akash Block Explorers](/docs/network/akash):
691+
Check on [Akash Block Explorers](/docs/node-operators/validators/):
692692
- [Mintscan](https://www.mintscan.io/akash/validators)
693693
- [Ping.pub](https://ping.pub/akash/staking)
694694

src/content/Docs/providers/architecture/manifest-service/overview.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ weight: 1
77
description: >-
88
---
99

10-
- [Provider Service Calls/Initiates the Manifest Service](/docs/akash-provider-service-and-associated-sub-services/manifest-service#1-provider-service-callsinitiates-the-manifest-service)
11-
- [Manifest Initiates an Event Bus to Monitor Lease Won Events](/docs/akash-provider-service-and-associated-sub-services/manifest-service#2-manifest-callsinitiates-an-event-bus-to-monitor-lease-won-events)
12-
- [Monitor Service Loop is Created to React to New Lease Won Events](/docs/akash-provider-service-and-associated-sub-services/manifest-service#3-monitor-service-loop-is-created-to-react-to-new-lease-won-events)
13-
- [Manifest Manager Logic](/docs/akash-provider-service-and-associated-sub-services/manifest-service#4-manifest-manager-logic)
14-
- [Receipt of Manifest from Tenant Send to Provider](/docs/akash-provider-service-and-associated-sub-services/manifest-service#5-receipt-of-manifest-from-tenant-send-to-provider)
10+
- [Provider Service Calls/Initiates the Manifest Service](/docs/providers/architecture/manifest-service/#service-creation)
11+
- [Manifest Initiates an Event Bus to Monitor Lease Won Events](/docs/providers/architecture/manifest-service/#1-lease-won-event)
12+
- [Monitor Service Loop is Created to React to New Lease Won Events](/docs/providers/architecture/manifest-service/#2-watchdog-creation)
13+
- [Manifest Manager Logic](/docs/providers/architecture/manifest-service/#5-manifest-processing)
14+
- [Receipt of Manifest from Tenant Send to Provider](/docs/providers/architecture/manifest-service/#3-manifest-submission)

0 commit comments

Comments
 (0)