docs: function resolveTarget(dir, entry) {
      const originName = getKeyFromObjByVal(entry, dir);
      const name = originName || getNameByFile(dir);
      const isApp = name === 'app';
      const pageType = isApp ? 'app' : originName ? 'page' : 'component';
      const isPage = pageType === 'page';
  
      let src = 'app';
      if (isPage) {
          src = getPageSrc(name);
      }
  
      return { pageType, src, name, isApp, isPage };
  }