### Build static HTML documentation with Redocly CLI
Source: https://github.com/yanport/yanport-api-doc/blob/main/README.md
Use this command to generate static HTML documentation from the bundled OpenAPI file. This is the second step in the testing workflow, allowing you to review the changes locally.
```shell
npx @redocly/cli@1.34.5 build-docs dist/openapi.yaml
```
--------------------------------
### Bundle OpenAPI specification with Redocly CLI
Source: https://github.com/yanport/yanport-api-doc/blob/main/README.md
Use this command to bundle the source OpenAPI file into a single output file. This is the first step in the testing workflow, generating the documentation bundle at dist/openapi.yaml.
```shell
npx @redocly/cli@1.34.5 bundle src/openapi.yaml -o dist/openapi.yaml
```
=== COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.