docs: function _copyDependencies(assetDirectory, destPath, ignoreAssets) {
    const files = [];
    const regexs = [];
    ignoreAssets.forEach((val) => {
      if (!(val instanceof RegExp)) {
        if (glob.hasMagic(val)) {
          const globFiles = glob.sync(val, { root: assetDirectory });
          files.push(...globFiles);
        } else if (path.isAbsolute(val)) {
          files.push(val);
        } else {
          files.push(path.resolve(assetDirectory, val));
        }
      } else {
        regexs.push(val);
      }
    });
    /**
     *  Private: filters out files that should be ignored when copying assets.
     *
     *  * `file` {String} path to file.
     *
     *  Returns {Bool} true if it should be included, otherwise false.
     */
    function filter(file) {
      if (files.indexOf(file) !== -1) return false;
      let include = true;
      regexs.forEach((regex) => {
        if (file.search(regex) !== -1) include = false;
      });
      return include;
    }
    fs.copySync(assetDirectory, destPath, filter, (err) => {
      console.log('[topdoc] Copy failed;', err);
    });
  }