diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0a5b31e42..39c87f000 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,8 +77,9 @@ xrefcheck: # Should be replaced with # nix run github:serokell/xrefcheck # Once flakes roll out to stable - - nix run -f https://github.com/serokell/xrefcheck/archive/v0.1.1.2.tar.gz -c xrefcheck - + # - nix run -f https://github.com/serokell/xrefcheck/archive/v0.1.1.2.tar.gz -c 'xrefcheck local-only' + - curl -L https://github.com/serokell/xrefcheck/releases/download/v0.1.1/release.tar.gz | tar -zxf - xrefcheck/bin/xrefcheck + - xrefcheck/bin/xrefcheck # Strange race conditions, disable for now .webide-e2e: diff --git a/.xrefcheck.yaml b/.xrefcheck.yaml new file mode 100644 index 000000000..adde381e8 --- /dev/null +++ b/.xrefcheck.yaml @@ -0,0 +1,49 @@ +# SPDX-FileCopyrightText: 2019 Serokell +# +# SPDX-License-Identifier: Unlicense + +# Parameters of repository traversal. +traversal: + # Files and folders which we pretend do not exist + # (so they are neither analyzed nor can be referenced). + ignored: + # Git files + - .git + - xrefcheck + +# Verification parameters. +verification: + # On 'anchor not found' error, how much similar anchors should be displayed as + # hint. Number should be between 0 and 1, larger value means stricter filter. + anchorSimilarityThreshold: 0.5 + + # When checking external references, how long to wait on request before + # declaring "Response timeout". + externalRefCheckTimeout: 60s + + # Prefixes of files, references in which should not be analyzed. + notScanned: + # GitHub-specific files + - .github/pull_request_template.md + - .github/issue_template.md + - .github/PULL_REQUEST_TEMPLATE + - .github/ISSUE_TEMPLATE + + # GitLab-specific files + - .gitlab/merge_request_templates/ + - .gitlab/issue_templates/ + + # Glob patterns describing the files which do not physically exist in the + # repository but should be treated as existing nevertheless. + virtualFiles: + # GitHub pages + - ../../../issues + - ../../../issues/* + - ../../../pulls + - ../../../pulls/* + + # GitLab pages + - ../../issues + - ../../issues/* + - ../../merge_requests + - ../../merge_requests/* diff --git a/gitlab-pages/docs/tutorials/get-started/tezos-taco-shop-payout.md b/gitlab-pages/docs/tutorials/get-started/tezos-taco-shop-payout.md index 7887eec35..be97c038d 100644 --- a/gitlab-pages/docs/tutorials/get-started/tezos-taco-shop-payout.md +++ b/gitlab-pages/docs/tutorials/get-started/tezos-taco-shop-payout.md @@ -72,7 +72,7 @@ const current_purchase_price : tez = ### Replacing *spendable* Smart Contracts However, due to the -[recent protocol upgrade](http://tezos.gitlab.io/mainnet/protocols/004_Pt24m4xi.html) +[recent protocol upgrade](http://tezos.gitlab.io/protocols/004_Pt24m4xi.html) of the Tezos `mainnet`, Pedro cannot access the tokens stored in his shop's contract directly. This was previously possible via *spendable smart contracts*, which are no longer available in the new