(id: string, scope: string)
| 4 | const docsDir = join(process.cwd(), 'docs') |
| 5 | |
| 6 | export function getDocById(id: string, scope: string) { |
| 7 | const path = join(docsDir, scope, `${id}.md`) |
| 8 | return readFile(path, 'utf-8') |
| 9 | } |
no outgoing calls
no test coverage detected