aboutsummaryrefslogtreecommitdiff
path: root/scripts/apidoc/utils.ts
blob: ee38d58d120423f8ccfeb0facc4e7aef85aafbad (plain)
1
2
3
4
5
6
7
8
import { resolve } from 'node:path';

export type Page = { text: string; link: string };
export type PageIndex = Array<Page>;

const pathRoot = resolve(__dirname, '..', '..');
export const pathDocsDir = resolve(pathRoot, 'docs');
export const pathOutputDir = resolve(pathDocsDir, 'api');