fix broken links
This commit is contained in:
parent
98e5ebbbab
commit
0a8e32f7c6
5 changed files with 6 additions and 6 deletions
2
.github/workflows/docs-check.yml
vendored
2
.github/workflows/docs-check.yml
vendored
|
@ -1,5 +1,5 @@
|
|||
name: Check markdown links
|
||||
on: [push, pull_request]
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
markdown-link-check:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -21,7 +21,7 @@ curl -LSfs get.zokrat.es | sh
|
|||
```
|
||||
|
||||
Have a look at the [documentation](https://zokrates.github.io/) for more information about using ZoKrates.
|
||||
A getting started tutorial can be found [here](https://zokrates.github.io/sha256example.html).
|
||||
A getting started tutorial can be found [here](https://zokrates.github.io/gettingstarted.html).
|
||||
|
||||
## Getting Help
|
||||
|
||||
|
|
|
@ -69,4 +69,4 @@ from "../../../mycode" import foo
|
|||
|
||||
### Absolute Imports
|
||||
|
||||
Absolute imports don't start with `./` or `../` in the path and are used to import components from the ZoKrates standard library. Please check the according [section](/toolbox/stdlib.html) for more details.
|
||||
Absolute imports don't start with `./` or `../` in the path and are used to import components from the ZoKrates standard library. Please check the according [section](../toolbox/stdlib.md) for more details.
|
|
@ -8,7 +8,7 @@ ZoKrates currently exposes two primitive types and two complex types:
|
|||
|
||||
This is the most basic type in ZoKrates, and it represents a field element with positive integer values in `[0, p - 1]` where `p` is a (large) prime number. Standard arithmetic operations are supported; note that [division in the finite field](https://en.wikipedia.org/wiki/Finite_field_arithmetic) behaves differently than in the case of integers.
|
||||
|
||||
As an example, `p` is set to `21888242871839275222246405745257275088548364400416034343698204186575808495617` when working with the [ALT_BN128](/toolbox/proving_schemes.html#alt_bn128) curve supported by Ethereum.
|
||||
As an example, `p` is set to `21888242871839275222246405745257275088548364400416034343698204186575808495617` when working with the [ALT_BN128](../toolbox/proving_schemes.md#alt_bn128) curve supported by Ethereum.
|
||||
|
||||
While `field` values mostly behave like unsigned integers, one should keep in mind that they overflow at `p` and not some power of 2, so that we have:
|
||||
|
||||
|
@ -48,7 +48,7 @@ ZoKrates provides two complex types: arrays and structs.
|
|||
|
||||
### Arrays
|
||||
|
||||
ZoKrates supports static arrays, i.e., whose length needs to be known at compile time. For more details on generic array sizes, see [constant generics](/language/generics.html)
|
||||
ZoKrates supports static arrays, i.e., whose length needs to be known at compile time. For more details on generic array sizes, see [constant generics](../language/generics.md)
|
||||
Arrays can contain elements of any type and have arbitrary dimensions.
|
||||
|
||||
The following example code shows examples of how to use arrays:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## Standard library
|
||||
|
||||
ZoKrates comes with a number of reusable components in the form of a Standard Library. In order to import it as described in the [imports](/language/imports.html) section, the `$ZOKRATES_STDLIB` environment variable must be set to the `stdlib` folder.
|
||||
ZoKrates comes with a number of reusable components in the form of a Standard Library. In order to import it as described in the [imports](../language/imports.md) section, the `$ZOKRATES_STDLIB` environment variable must be set to the `stdlib` folder.
|
||||
|
||||
The full ZoKrates Standard Library can be found [here](https://github.com/Zokrates/ZoKrates/tree/latest/zokrates_stdlib/stdlib).
|
||||
|
||||
|
|
Loading…
Reference in a new issue