chore(web): move site under packages
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { DOC_SOURCES } from "./docs-content.generated"
|
||||
|
||||
export function loadDocSource(file: string): string {
|
||||
const source = DOC_SOURCES[file]
|
||||
if (source === undefined) {
|
||||
throw new Error(`Unknown doc file: ${file}`)
|
||||
}
|
||||
return source
|
||||
}
|
||||
Reference in New Issue
Block a user