This is the OpenFeature documentation website built with Docusaurus 3.9. It is a single-product repo (not a monorepo).
| Action | Command |
|---|---|
| Install deps | yarn install |
| Init submodules | git submodule update --init --recursive (or yarn submodules) |
| Dev server | yarn start (port 3000) |
| Build | yarn build |
| Lint | yarn lint (runs ESLint + markdownlint via wireit) |
| Type check | yarn typecheck |
- Git submodules are required. The build will fail if
external-content/specificationandexternal-content/communityare not initialized. Theyarn startcommand (via wireit) automatically runsgit submodule update --init --recursiveas a dependency, butyarn builddoes not — runyarn submodulesfirst if building directly. - The
yarn startwireit task auto-initializes submodules before starting the dev server. - The
yarn lintwireit task runs bothlint:es(ESLint) andlint:md(markdownlint-cli2) in parallel. yarn buildhasonBrokenLinks: 'throw'so broken internal links will cause the build to fail — this acts as a de-facto integration test.- The Makefile at the repo root is for Docker-based workflows only and is not needed for local development.
- Node.js >= 20 is required (
enginesfield in package.json). - Package manager is Yarn Classic 1.x (specified in
packageManagerfield).