]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix redoc cli command
authorChocobozzz <me@florianbigard.com>
Fri, 17 Feb 2023 09:10:22 +0000 (10:10 +0100)
committerChocobozzz <me@florianbigard.com>
Fri, 17 Feb 2023 09:10:22 +0000 (10:10 +0100)
.github/CONTRIBUTING.md

index 59dbc685479e52eb57fad66626bdaf7cf3bcc0b0..43b93daecb100e0b552c94029567c44bd678c67e 100644 (file)
@@ -246,7 +246,7 @@ The [REST API documentation](https://docs.joinpeertube.org/api-rest-reference.ht
 To quickly get a preview of your changes, you can generate the documentation *on the fly* using the following command:
 
 ```
-npx redoc-cli serve --watch ./support/doc/api/openapi.yaml
+npx @redocly/cli preview-docs ./support/doc/api/openapi.yaml
 ```
 
 ### Environment variables