This is the full set of product docs for Calico & Tigera. It includes our Open Source (Project Calico) docs as well as our Enterprise and Cloud docs.
This website is built using Docusaurus 2, a modern static website generator.
- Node.js v16.14.2+ (v18.14.2 recommended). Use the outstanding nvm tool to manage your node versions.
- yarn
npm install -g yarn
- Fork and clone our docs repo https://github.com/tigera/docs
yarn install
This installs all the package dependencies, such as docusaurus.
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. This build is faster, but does not produce all the warnings and errors of a full build.
yarn build
yarn serve
This command generates static content into the build
directory and can be served using any static content hosting
service. This is a full build which is exactly what Netlify runs to build the site, therefore, you will get more
warning and error output. If you are trying to reproduce an error on Netlify, this is a great place to start.