scripts/docgen/generate-docs.js
function runTypedoc() {
  const typeSource = apiType === 'node' ? tempNodeSourcePath : sourceFile;
  const command = `${repoPath}/node_modules/.bin/typedoc ${typeSource} \
  --out ${docPath} \
  --readme ${tempHomePath} \
  --options ${__dirname}/typedoc.js \
  --theme ${__dirname}/theme`;

  console.log('Running command:\n', command);
  return exec(command);
}
function runTypedoc() {
  const typeSource = apiType === 'node' ? tempNodeSourcePath : sourceFile;
  const command = `${repoPath}/node_modules/.bin/typedoc ${typeSource} \
  --out ${docPath} \
  --readme ${tempHomePath} \
  --options ${__dirname}/typedoc.js \
  --theme ${__dirname}/theme`;

  console.log('Running command:\n', command);
  return exec(command);
}
function runTypedoc ( ) { const typeSource = apiType === 'node' ? tempNodeSourcePath : sourceFile ; const command = ` ${ repoPath } ${ typeSource } \
 ${ docPath } \
 ${ tempHomePath } \
 ${ __dirname } \
 ${ __dirname } ` ; console . log ( 'Running command:\n' , command ) ; return exec ( command ) ; }
Runs Typedoc command.

Additional config options come from ./typedoc.js
Runs Typedoc command .