Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: Switch from npm to yarn in scripts/apidocgen #5575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/apidocgen/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ go run github.com/swaggo/swag/cmd/[email protected] init \
popd

pushd "${APIDOCGEN_DIR}"
npm ci
yarn

# Make sure that widdershins is installed correctly.
npm exec -- widdershins --version
yarn exec -- widdershins --version
# Render the Markdown file.
npm exec -- widdershins \
yarn exec -- widdershins \
--user_templates "./markdown-template" \
--search false \
--omitHeader true \
Expand Down
Loading