[!NOTE] The content in this repo is currently in sync with delta-io/delta@8f01df9
This folder contains all of the source code needed to generate the delta documentation site.
Install node v22.14.0 using nvm:
nvm install
Then, install pnpm:
npm install --global corepack@latest
corepack enable pnpm
Finally, install dependencies:
pnpm i
The docs site is build on Astro. Using pnpm, you can run a variety of commands:
Command | Description |
---|---|
pnpm run lint |
Run ESLint on the docs site code |
pnpm run format |
Format docs site code using Prettier |
pnpm run dev |
Start Astro in development mode |
pnpm run build |
Build the Astro site for production |
pnpm run preview |
Preview the built Astro site |
pnpm run astro |
Run Astro CLI |
It's a best practice to make sure that our dependencies are always up to date. You can run scripts/upgrade-dependencies
to automatically install upgrades.
Do note that you will still need to verify that things work as expected.