Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

278
Views
How to generate document using Jsdoc in reactjs?

I have install the Jsdoc in my solution with the help of command npm install jsdoc. Now in method I have defined with the comment as:-

/**
 * @param {object} state person/thing you want to say hello to.
 * @param {object} action
 * @returns {object} state
 */

Now the question is how can I generate the document?, what will be the command to generate the document?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

First of all, you may have a look at the documentation. It is a bit confusing at first but quite comprehensive.

Then, I would recommend to install jsdocs globally with npm -g

Now you can go to your project folder and just type

jsdoc src -r -d docs

This will go through all files in the subdirectory src and output the documentation in docs.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!