First public release of the updated zkSync.io landing page design
# clear possible cache && install dependencies (clear install)
$ sh cli-dev.sh ci
# populate .env file as dev environment && serve with hot reload at localhost:3000
$ yarn dev
# build for dev
$ build:stage
# afterward you'll have prepared distributive in /public folder
# build for production (only if you have firebase:auth)
$ bash cli-dev.sh ci && yarn zk-ci-prepare For detailed explanation on how things work, check out Nuxt.js docs.
This repository contains the zkSync documentation hosted on <zksync.io>.
yarn
yarn docs:devCI pipeline will check that the files are formatted according to prettier, markdownlint founds no issues in document
and spelling is correct. Also, there should be no dead links.
You can check it locally as follows:
yarn
yarn md:lint
yarn md:deadlinks
yarn fmt:check
yarn cspellIf cspell doesn't recognize a word but you're sure that it's correct, consider adding it to the cspell-zksync.txt.
master branch is automatically deployed to https://console.firebase.google.com/u/0/project/zksync-js-docs
will do:
- install node modules;
- prepare, test and build documentation;
- prepare and build nuxt.js-version of the landing page of zksync.io/index.html
- afterwards all contained into the
distfolder will be deployed in form of the static website
yarn zk-ci-prepare
yarn firebase deployConfiguration in .cSpell.json:
version— version of the setting file, always 0.1language— language - current active spelling languagewords[]— words - list of words to be always considered correctdictionaries[]
"dictionaryDefinitions": [
{
"name": "zksync", "path": "./cspell-zksync.txt"
}
]
{
"version": "0.1",
// language - current active spelling language
"language": "en",
// words - list of words to be always considered correct
"words": [],
"dictionaries": ["typescript", "zksync"],
//
"dictionaryDefinitions": [
{
"name": "zksync", "path": "./cspell-zksync.txt"
}
]
}