> ## Documentation Index
> Fetch the complete documentation index at: https://bruno-a6972042-mintlify-4e261c89.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Auto Generate Documentation

Bruno allows you to automatically generate a standalone HTML documentation file from your collection. This creates a shareable, interactive API documentation page that you can deploy anywhere or share with your team.

## Generate Documentation

1. Navigate to the Collection Settings and click on the **Generate Docs** under Documentation section

<img src="https://mintcdn.com/bruno-a6972042-mintlify-4e261c89/MHqNoCbEPchwIVDw/images/screenshots/send-request/api-docs/opencollection/1-click-generate-docs.webp?fit=max&auto=format&n=MHqNoCbEPchwIVDw&q=85&s=b49ee23d4d1bd620b20aad417e858920" alt="Click Generate Docs" width="2610" height="1348" data-path="images/screenshots/send-request/api-docs/opencollection/1-click-generate-docs.webp" />

2. Choose which environments to include in the generated docs. By default all environments in the collection are selected; use the **Select All** checkbox or the per-environment checkboxes to scope the output (for example, to keep `local` or `staging` envs out of docs shared externally). The configuration card alongside the list shows the normalized collection version and the number of folders and requests that will be exported.

3. Click the **Generate** button to create the HTML documentation

<img src="https://mintcdn.com/bruno-a6972042-mintlify-4e261c89/MHqNoCbEPchwIVDw/images/screenshots/send-request/api-docs/opencollection/click-generate-2-button.webp?fit=max&auto=format&n=MHqNoCbEPchwIVDw&q=85&s=91cd3ac7e10b8f23b8e5f2b3903a25a3" alt="Click Generate Button" width="2614" height="920" data-path="images/screenshots/send-request/api-docs/opencollection/click-generate-2-button.webp" />

4. Bruno will generate a HTML documentation file for your collection documentation

<img src="https://mintcdn.com/bruno-a6972042-mintlify-4e261c89/MHqNoCbEPchwIVDw/images/screenshots/send-request/api-docs/opencollection/genarated-docs-htmml.webp?fit=max&auto=format&n=MHqNoCbEPchwIVDw&q=85&s=4fac1ca813b5e0ff70d72057bc1540c7" alt="Generated HTML Documentation" width="2802" height="1712" data-path="images/screenshots/send-request/api-docs/opencollection/genarated-docs-htmml.webp" />

## Key Features

### Auto-Generated Docs from Bruno Collections

* **Support for .bru files** and Bruno collection structure
* **Render nested folders** with requests, environment variables, and metadata
* **Sample requests/responses** and script previews included
* **Environment support** for different configurations

### Code Samples

The documentation automatically generates code snippets for each request in multiple languages:

* cURL
* Python (requests)
* JavaScript

<img src="https://mintcdn.com/bruno-a6972042-mintlify-4e261c89/MHqNoCbEPchwIVDw/images/screenshots/send-request/api-docs/opencollection/curl.webp?fit=max&auto=format&n=MHqNoCbEPchwIVDw&q=85&s=973c43c8c54275e990d295fa53cb947b" alt="Test Scripts" width="2802" height="1712" data-path="images/screenshots/send-request/api-docs/opencollection/curl.webp" />

### Tests and Scripts Display

* Show **pre-request scripts** inline for each request
* Display **post-response scripts** and test logic
* View **test assertions** directly in the documentation

<img src="https://mintcdn.com/bruno-a6972042-mintlify-4e261c89/MHqNoCbEPchwIVDw/images/screenshots/send-request/api-docs/opencollection/test-script-display.webp?fit=max&auto=format&n=MHqNoCbEPchwIVDw&q=85&s=23827ba561369d0f81c49537dc12281e" alt="Test Scripts" width="2856" height="1100" data-path="images/screenshots/send-request/api-docs/opencollection/test-script-display.webp" />

### Try It Out Playground

Interactive playground that allows users to:

* Edit request parameters, headers, and body
* Modify and test scripts in real-time
* Execute requests live directly from the documentation
* View responses immediately

<img src="https://mintcdn.com/bruno-a6972042-mintlify-4e261c89/MHqNoCbEPchwIVDw/images/screenshots/send-request/api-docs/opencollection/auto-docs-playground.webp?fit=max&auto=format&n=MHqNoCbEPchwIVDw&q=85&s=cea36660333a3fc817db88cdeb9e68d5" alt="Try It Out Playground" width="2848" height="1100" data-path="images/screenshots/send-request/api-docs/opencollection/auto-docs-playground.webp" />

## Deployment Options

Once generated, you can:

1. **Open locally**: View the HTML file in any browser
2. **Static hosting**: Deploy to GitHub Pages, Netlify, Vercel, or any static host
3. **Share directly**: Send the HTML file to team members or API consumers
4. **Documentation portal**: Add to your developer portal or docs site
