| 17 | export type DocResolver = () => Promise<{ default: Component; metadata: Doc }>; |
| 18 | |
| 19 | interface Contributor { |
| 20 | login: string; |
| 21 | name?: string; |
| 22 | avatar_url: string; |
| 23 | contributions: number; |
| 24 | } |
| 25 | |
| 26 | export async function getDoc(slug: string = "index", fetch: typeof globalThis.fetch) { |
| 27 | const modules = import.meta.glob("/src/content/**/*.md"); |
nothing calls this directly
no outgoing calls
no test coverage detected