Skip to content

Commit 8f8f832

Browse files
disable link checker and fix viem links (#2415)
* disable link checker and fix viem links * disable trivy
1 parent 394811c commit 8f8f832

File tree

7 files changed

+36
-36
lines changed

7 files changed

+36
-36
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ jobs:
5858
with:
5959
FILEPATHS: 'snaps,services,wallet,developer-tools,docs'
6060

61-
linkCheck:
62-
name: Link Checking
63-
runs-on: ubuntu-latest
64-
strategy:
65-
matrix:
66-
file-extensions: ['.md', '.mdx']
67-
steps:
68-
- uses: actions/checkout@v5
69-
- name: LinkCheck
70-
uses: ConsenSys/github-actions/docs-link-check@main
71-
with:
72-
FILE_EXTENSION: ${{ matrix.file-extensions }}
61+
# linkCheck:
62+
# name: Link Checking
63+
# runs-on: ubuntu-latest
64+
# strategy:
65+
# matrix:
66+
# file-extensions: ['.md', '.mdx']
67+
# steps:
68+
# - uses: actions/checkout@v5
69+
# - name: LinkCheck
70+
# uses: ConsenSys/github-actions/docs-link-check@main
71+
# with:
72+
# FILE_EXTENSION: ${{ matrix.file-extensions }}

.github/workflows/trivy.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
---
2-
name: Trivy
3-
4-
on:
5-
pull_request:
6-
branches:
7-
- main
8-
9-
jobs:
10-
trivy:
11-
name: Run trivy scanner
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v5
15-
- name: Trivy
16-
uses: ConsenSys/github-actions/trivy@main
17-
with:
18-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1+
# ---
2+
# name: Trivy
3+
#
4+
# on:
5+
# pull_request:
6+
# branches:
7+
# - main
8+
#
9+
# jobs:
10+
# trivy:
11+
# name: Run trivy scanner
12+
# runs-on: ubuntu-latest
13+
# steps:
14+
# - uses: actions/checkout@v5
15+
# - name: Trivy
16+
# uses: ConsenSys/github-actions/trivy@main
17+
# with:
18+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

gator_versioned_docs/version-0.11.0/concepts/environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const environment: DeleGatorEnvironment = getDelegatorEnvironment(59141);
8787

8888
You can deploy the contracts using any method, but the toolkit provides a convenient `deployDelegatorEnvironment` function. This function simplifies deploying the Delegation Framework contracts to your desired EVM chain.
8989

90-
This function requires a Viem [Public Client](https://viem.sh/docs/clients/public.html), [Wallet Client](https://viem.sh/docs/clients/wallet.html), and [Chain](https://viem.sh/docs/glossary/types#chain)
90+
This function requires a Viem [Public Client](https://viem.sh/docs/clients/public), [Wallet Client](https://viem.sh/docs/clients/wallet), and [Chain](https://viem.sh/docs/glossary/types#chain)
9191
to deploy the contracts and resolve the `DeleGatorEnvironment`.
9292

9393
Your wallet must have sufficient native token balance to deploy the contracts.

gator_versioned_docs/version-0.11.0/how-to/create-smart-account/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The following is an example of creating a smart account using Viem Core SDK.
2222
Viem Core SDK provides low-level interfaces to offer flexibility and control over the smart
2323
account creation lifecycle.
2424

25-
In the example, the Viem [`privateKeyToAccount`](https://viem.sh/docs/accounts/privateKey.html)
25+
In the example, the Viem [`privateKeyToAccount`](https://viem.sh/docs/accounts/local/privateKeyToAccount)
2626
function creates an externally owned account as the owner of the smart account.
2727

2828
<Tabs>

gator_versioned_docs/version-0.12.0/concepts/environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const environment: DeleGatorEnvironment = getDelegatorEnvironment(11155111);
8787

8888
You can deploy the contracts using any method, but the toolkit provides a convenient [`deployDelegatorEnvironment`](../reference/api/delegation.md#deploydelegatorenvironment) function. This function simplifies deploying the Delegation Framework contracts to your desired EVM chain.
8989

90-
This function requires a Viem [Public Client](https://viem.sh/docs/clients/public.html), [Wallet Client](https://viem.sh/docs/clients/wallet.html), and [Chain](https://viem.sh/docs/glossary/types#chain)
90+
This function requires a Viem [Public Client](https://viem.sh/docs/clients/public), [Wallet Client](https://viem.sh/docs/clients/wallet), and [Chain](https://viem.sh/docs/glossary/types#chain)
9191
to deploy the contracts and resolve the `DeleGatorEnvironment`.
9292

9393
Your wallet must have sufficient native token balance to deploy the contracts.

gator_versioned_docs/version-0.12.0/how-to/create-smart-account/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The following is an example of creating a smart account using Viem Core SDK.
2222
Viem Core SDK provides low-level interfaces to offer flexibility and control over the smart
2323
account creation lifecycle.
2424

25-
In the example, the Viem [`privateKeyToAccount`](https://viem.sh/docs/accounts/privateKey.html)
25+
In the example, the Viem [`privateKeyToAccount`](https://viem.sh/docs/accounts/local/privateKeyToAccount)
2626
function creates an externally owned account as the owner of the smart account.
2727

2828
<Tabs>

src/pages/tutorials/create-wallet-ai-agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ You can test the AI functionality by sending messages in the chat:
124124
125125
### 3. Create a Public Client
126126
127-
In `wagmi.config.ts`, initialize a [Viem Public Client](https://viem.sh/docs/clients/public.html)
127+
In `wagmi.config.ts`, initialize a [Viem Public Client](https://viem.sh/docs/clients/public)
128128
with the Linea Sepolia chain.
129129
This Public Client will enable the AI agent to access public JSON-RPC API methods such as retrieving balances:
130130
@@ -151,7 +151,7 @@ export function getConfig() {
151151
Use the AI SDK's [tools](https://sdk.vercel.ai/docs/foundations/tools) feature to enable the AI agent to perform specific tasks.
152152

153153
In `ai/tools.ts`, update or remove the example tool.
154-
Use the [`getBalance`](https://viem.sh/docs/actions/public/getBalance) method of your configured Public Client, and Viem's [`formatEther`](https://viem.sh/docs/utilities/formatEther.html) function to create a tool that retrieves the ether balance of the connected wallet:
154+
Use the [`getBalance`](https://viem.sh/docs/actions/public/getBalance) method of your configured Public Client, and Viem's [`formatEther`](https://viem.sh/docs/utilities/formatEther) function to create a tool that retrieves the ether balance of the connected wallet:
155155
156156
```ts title="tools.ts"
157157
// add-start

0 commit comments

Comments
 (0)