This repository contains the source files for the Oxide documentation. The documentation is built using VitePress.
- Node.js (v20 or higher)
To get started, you will need to install the dependencies. You can do this by running the following command:
npm installTo start the development server, run the following command:
npm run docs:devTo preview the production build of the documentation, run the following command:
npm run docs:buildThis can be previewed by running the following command:
npm run docs:previewThe project uses EditorConfig, Prettier, and pre-commit hooks to ensure consistent code style across the codebase.
When you commit changes, pre-commit hooks will automatically format your code according to our style guidelines.
To manually format files:
# Format all supported files
npm run format
# Check code style
npm run lint
# Also check code style
npm run check