It's important to automatically generate documentation for new functionality before each release.
The PR fixes an issue where the node_modules/.bin/jsdoc is not found during the release publishing process:
> whatsapp-web.js@1.26.0 generate-docs
> node_modules/.bin/jsdoc --configure .jsdoc.json --verbose
sh: 1: node_modules/.bin/jsdoc: not found
### Action screenshot (click to expand)
[Link to action](https://github.com/pedroslopez/whatsapp-web.js/actions/runs/10929944843/job/30341779020)
How Has This Been Tested
Tested locally by installing dependencies and generating docs:
:: using cmd
npm install && npm run generate-docs
Types of changes
[ ] Dependency change
[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist
[X] My code follows the code style of this project.
[ ] I have updated the documentation accordingly (index.d.ts).
PR Details
It's important to automatically generate documentation for new functionality before each release. The PR fixes an issue where the
node_modules/.bin/jsdoc
is not found during the release publishing process:### Action screenshot (click to expand)
[Link to action](https://github.com/pedroslopez/whatsapp-web.js/actions/runs/10929944843/job/30341779020)How Has This Been Tested
Tested locally by installing dependencies and generating docs:
Types of changes
Checklist