DocumentJS.projectConfig
{Object}
The configuration options for a project to retrieve and document.
Object
Properties
-
source
{String}
The source location of the project.
-
version
{String}
Optional
The version name of the project. The default value is
this project config's versions
key.
-
path
{String}
Optional
The location of where the project should be
installed. The default is to use docConfig's versionDest
.
-
npmInstall=false
{Boolean}
Optional
Use npm to install the resource.
-
sites
{Object<String,siteConfig>}
Optional
The sites that should be created for the
project if the project does not contain its own documentjs.json.
Use
A projectConfig object is used to configure the behavior of a project. These objects are found within a docConfig's
versions
property. For example:A projectConfig specifies where and how to retrieve a project, where to install it, and sometimes includes a "sites" object if the project being retrieved does not contain its own
documentjs.json
.