Skip to main content
Generate a standalone HTML documentation file from your collection in a few clicks.

Generate Documentation

  1. Navigate to the Collection Settings and click on the Generate Docs under Documentation section
Click Generate Docs
  1. Select Environment to include in the documentation and click the Generate button to create the HTML documentation
Click Generate Button
Optional: You can set a collection version before generating docs. Collections without a version show “Not set”.
  1. Bruno will generate a documentation file for your collection in your file system with name collection-name-documentation.html
Generated HTML Documentation
The generate docs dialog also offers advanced filtering. You can include or exclude requests by their tags, and toggle a link to the collection’s git repository (shown only when the collection has a git remote).

Generate Docs with the CLI

The Bruno CLI can generate the same standalone HTML documentation with the bru docs generate command. This is useful for publishing docs automatically from CI/CD. Run the command from your collection directory:
copy
By default the output file is named <collection name>-documentation.html. Use --output (or -o) to choose a different path:
copy

Options

Examples

Include specific environments:
copy
Include every environment except one:
copy
Filter requests by tags:
copy
copy
Skip the git repository link:
copy
If an environment named in --envs or --exclude-envs does not exist in the collection’s environments/ directory, the command errors with Environment(s) not found. The generated file matches the output of the Generate Docs flow in the app.

Next steps