Existing projects

# Add Gendocs to an existing project

To add Gendocs to an existing project all you have to do is run gendocs init in the root directory of your project.

Then create a folder where your documentation will be placed.

Afterwards, edit your gendocs.json and point the sourcePath key to your newly created directory.

json
{
  // Look for docs in the ./docs folder
  "sourcePath": "./docs",

  // Other settings ...
}

That's it, Gendocs will now look for your documentation in the "docs" folder.