(subPkgName: string, hierarchy: string[])
| 356 | } |
| 357 | |
| 358 | function getMdFile(subPkgName: string, hierarchy: string[]) { |
| 359 | let mdFile = ''; |
| 360 | for (const h of hierarchy) { |
| 361 | mdFile += '.' + getSafeFilenameForName(h); |
| 362 | } |
| 363 | return `qwik${subPkgName.includes('city') ? '-city' : ''}${mdFile}.md`; |
| 364 | } |
| 365 | |
| 366 | function getSafeFilenameForName(name: string): string { |
| 367 | // https://github.com/microsoft/rushstack/blob/d0f8f10a9ce1ce4158ca2da5b79c54c71d028d89/apps/api-documenter/src/utils/Utilities.ts |
no test coverage detected
searching dependent graphs…