code: function formatProjectPath(filePath = '') {
    let dir = path.relative(process.cwd(), path.dirname(filePath));
    return dir + (dir ? path.sep : '') + path.basename(filePath);
  }
docs: path relative to project root