Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.11 KB

File metadata and controls

59 lines (39 loc) · 1.11 KB

Contributing to DevHub

Keep changes small, clear, and easy to review.

Before You Start

  • Read AGENTS.md for project conventions and agent guidance.
  • Use the scripts in package.json to validate your changes.

Local Workflow

  1. Install dependencies:
npm install
  1. Start the site locally:
npm run dev

This will run both the Docusaurus and the API functions locally.

  1. Run formatting:
npm run fmt
  1. Run type checking:
npm run typecheck
  1. Run smoke tests (builds production site, serves it, verifies sitemap, robots.txt, and llms.txt):
bun run test

Useful Scripts

From package.json:

  • npm run start - run local dev server
  • npm run build - build production site
  • npm run test - build, serve, and run smoke tests
  • npm run typecheck - run TypeScript checks
  • npm run fmt - format files with Prettier
  • npm run sync:appkit-docs - sync AppKit docs content

Pull Request Notes

  • Keep docs accurate and concise.
  • Include a short description of what changed and why.
  • Ensure formatting, typecheck, and tests pass before opening a PR.