From f8deb7982c07b967b3e1b3636f156e4c246e6da1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 17 Feb 2023 10:10:22 +0100 Subject: [PATCH] Fix redoc cli command --- .github/CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 59dbc6854..43b93daec 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -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