Skip to content

Commit c5fb708

Browse files
voetbergbari12
authored andcommitted
Update npx call to cli-redocly based on recommendation
1 parent 52ab113 commit c5fb708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build_documentation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ rm "$AUTO_GENERATED"/rest_api_doc_spec_tmp.yaml
2828

2929

3030
echo "Generating Rest Api Docs from Spec File..."
31-
npx --yes redoc-cli build "$AUTO_GENERATED"/rest_api_doc_spec.yaml --template "$SCRIPT_DIR"/templates/rest_api_html_template.hbs --output "$AUTO_GENERATED"/rest_api_doc.html
31+
npx --yes @redocly/cli build-docs "$AUTO_GENERATED"/rest_api_doc_spec.yaml --template "$SCRIPT_DIR"/templates/rest_api_html_template.hbs --output "$AUTO_GENERATED"/rest_api_doc.html
3232

3333
mkdir -p "$SCRIPT_DIR"/../website/static/yaml/
3434
mkdir -p "$SCRIPT_DIR"/../website/static/html/

0 commit comments

Comments
 (0)