MCPcopy Index your code
hub / github.com/QwikDev/qwik / getMdFile

Function getMdFile

scripts/api-docs.ts:358–364  ·  view source on GitHub ↗
(subPkgName: string, hierarchy: string[])

Source from the content-addressed store, hash-verified

356}
357
358function 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
366function getSafeFilenameForName(name: string): string {
367 // https://github.com/microsoft/rushstack/blob/d0f8f10a9ce1ce4158ca2da5b79c54c71d028d89/apps/api-documenter/src/utils/Utilities.ts

Callers 1

addMemberFunction · 0.85

Calls 1

getSafeFilenameForNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…