From 0a8e32f7c6cdf5c94c8708e830e5245a5459b316 Mon Sep 17 00:00:00 2001 From: dark64 Date: Wed, 26 May 2021 19:39:19 +0200 Subject: [PATCH] fix broken links --- .github/workflows/docs-check.yml | 2 +- README.md | 2 +- zokrates_book/src/language/imports.md | 2 +- zokrates_book/src/language/types.md | 4 ++-- zokrates_book/src/toolbox/stdlib.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs-check.yml b/.github/workflows/docs-check.yml index 9c66557b..57d5979b 100644 --- a/.github/workflows/docs-check.yml +++ b/.github/workflows/docs-check.yml @@ -1,5 +1,5 @@ name: Check markdown links -on: [push, pull_request] +on: [pull_request] jobs: markdown-link-check: runs-on: ubuntu-latest diff --git a/README.md b/README.md index cabceecc..4e310780 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/zokrates_book/src/language/imports.md b/zokrates_book/src/language/imports.md index 7ca39767..7fd55692 100644 --- a/zokrates_book/src/language/imports.md +++ b/zokrates_book/src/language/imports.md @@ -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. \ No newline at end of file +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. \ No newline at end of file diff --git a/zokrates_book/src/language/types.md b/zokrates_book/src/language/types.md index 573d5b77..f1668a79 100644 --- a/zokrates_book/src/language/types.md +++ b/zokrates_book/src/language/types.md @@ -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: diff --git a/zokrates_book/src/toolbox/stdlib.md b/zokrates_book/src/toolbox/stdlib.md index fbf55f9b..4cefc9dc 100644 --- a/zokrates_book/src/toolbox/stdlib.md +++ b/zokrates_book/src/toolbox/stdlib.md @@ -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).