scripts/docgen/generate-docs.js
function moveFilesToRoot(subdir) {
  return exec(`mv ${docPath}/${subdir}/* ${docPath}`)
    .then(() => {
      exec(`rmdir ${docPath}/${subdir}`);
    })
    .catch(e => console.error(e));
}
function moveFilesToRoot(subdir) {
  return exec(`mv ${docPath}/${subdir}/* ${docPath}`)
    .then(() => {
      exec(`rmdir ${docPath}/${subdir}`);
    })
    .catch(e => console.error(e));
}
function moveFilesToRoot ( subdir ) { return exec ( ` ${ docPath } ${ subdir } ${ docPath } ` ) . then ( ( ) => { exec ( ` ${ docPath } ${ subdir } ` ) ; } ) . catch ( e => console . error ( e ) ) ; }
Moves files from subdir to root.
@param {string} subdir Subdir to move files out of.
Moves files from subdir to root .