All of the material and stitching for pantsbuild.org.
The docs site is a JS project, so you'll want nvm and yarn installed.
Afterwards
nvm use
yarn installThe following command will start the dev server:
npm startBy default, only the "next" docs (e.g. the docs for the version that maps to main) will get built.
To include the blog, use:
PANTSBUILD_ORG_INCLUDE_BLOG=1 npm startTo include any version(s) in addition to the "next" version:
PANTSBUILD_ORG_INCLUDE_VERSIONS=$version1,$version2 npm startTo build the site, run:
NODE_OPTIONS="--max-old-space-size=6144" npm run build(Note: Node needs more than the default amount of RAM because this site is beefy)
The site is fully managed via https://docusaurus.io/ and is published via GitHub Actions to GitHub Pages.