TypeRacer's API documentation is powered by VitePress. The source files can be found under /src/.
From the project root, run:
npm run docs:dev
From the project root, run:
npm run docs:build
- Make sure you are on the
mainbranch - Run the build command from the project root;
npm run docs:build - Commit your changes and push to
main. The updated page will automatically be deployed via GitHub Actions.
Please see https://vitepress.dev/guide/deploy for more information on deployments.