Thanks for your interest. This repo holds the Bruno API Docs renderer: the interactive API documentation site and embedded Bruno Playground that Bruno generates from a collection. See the README for what the project is and where it's headed.
- Node.js
v22.11.0(see.nvmrc). With nvm:nvm use. - npm (ships with Node).
git clone https://github.com/usebruno/bruno-api-docs.git
cd bruno-api-docs
npm installRun these from packages/bruno-api-docs:
| Task | Command |
|---|---|
| Dev server | npm run dev |
| Unit tests | npm run test:run (watch: npm test) |
| E2E tests | npm run test:e2e |
| Lint | npm run lint |
| Build | npm run build (CDN bundle: npm run build:standalone) |
- Open or comment on an issue first for anything beyond a small fix.
- Create a branch from
main. - Make your change and add or update tests. Run
npm run lintandnpm run test:runbefore pushing; runnpm run test:e2ewhen UI behavior changed. - Open a pull request against
maindescribing the change and linking the issue.
Continuous integration runs the end-to-end tests on pull requests via GitHub Actions.
File issues on GitHub. For bugs, include the smallest collection that reproduces the problem and what you expected to happen.