8 lines
303 B
TypeScript
8 lines
303 B
TypeScript
import {join} from 'https://deno.land/std@0.166.0/path/mod.ts';
|
|
import { expandGlob } from 'https://deno.land/std@0.166.0/fs/mod.ts';
|
|
import { DocParser, readDoc } from './doc_load/load.ts';
|
|
|
|
for await(const dir of expandGlob('sample/*.md')) {
|
|
console.log(dir.path);
|
|
await readDoc(dir.path, true);
|
|
} |