PRs, bug reports, and issue suggestions are welcome! For major changes, please propose in an issue first so benefits and impacts can be discussed.
👉 You can also click on click on
Edit this page links at the bottom of each page to jump directly to Edit mode.
# Running locally
$ yarn install $ yarn docs:dev
$ yarn docs:links # verify all links are well-formed $ yarn docs:build
Then deploy the
docs/.vuepress/dist directory to the
gh-pages branch of this repo.
# Deploy script
You can also run the following script to combine building and deployment together. Make sure everything is running okay locally.
#!/usr/bin/env sh # abort on errors set -e # build npm run docs:build # navigate into the build output directory cd docs/.vuepress/dist # if you are deploying to a custom domain echo 'venus.filecoin.io' > CNAME git init git add -A git commit -m 'deploy' # if you are deploying to https://<USERNAME>.github.io # git push -f firstname.lastname@example.org:<USERNAME>/<USERNAME>.github.io.git master # if you are deploying to https://<USERNAME>.github.io/<REPO> git push -f email@example.com:filecoin-project/venus-docs.git master:gh-pages cd -
- When new documentation pages are added
./docs/config.jswill need to be manually updated in this repo