Skip to content

Commit a8f5b69

Browse files
authored
Fix website build (#2047)
- **Build website in ci** - **Fix dead link** - **Add empty patch section to cargo.toml**
1 parent b245d76 commit a8f5b69

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ jobs:
173173
cache-dependency-path: website/package-lock.json
174174
- run: npm ci
175175
- run: npm run fmt:check
176+
- run: npm run build
176177

177178
snforge-init:
178179
runs-on: ubuntu-latest

Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ xxhash-rust = { version = "0.8", features = ["xxh3"] }
147147
zip = { version = "0.6", default-features = false, features = ["deflate"] }
148148
zstd = "0.13"
149149

150+
[patch.crates-io]
151+
150152
[profile.release]
151153
lto = true
152154

website/docs/extensions/prove-and-verify.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and `scarb verify` commands.
1515

1616
## Proving Cairo execution
1717

18-
Only packages defining the [executable target](../reference/targets.md/#Executable-target) can be proven.
18+
Only packages defining the [executable target](../reference/targets.md#executable-target) can be proven.
1919
To prove the execution, you need to run the `scarb execute` command first, which will save execution information under the `target/execute/<target name>` directory.
2020
For each execution, a new output directory will be created, with consecutive number as names (e.g. `execution1`, `execution2`, ...).
2121
To clean the target directory, you can use the `scarb clean` command.

0 commit comments

Comments
 (0)