Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions docs/scripts/output-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ import path from 'node:path';
import { cleanDir, copyDir } from './utils/fs.ts';

const DOCS_VERSION = process.env.DOCS_VERSION || 'local';
const DIST_DIR = 'dist';
const OUT_DIR = path.join(DIST_DIR, DOCS_VERSION);
const OUT_DIR = path.join('dist', DOCS_VERSION);
const DOCS_DIR = './src/content/docs';

async function main() {
await cleanDir(DIST_DIR);
await cleanDir(OUT_DIR);
await copyDir(DOCS_DIR, OUT_DIR);
}

Expand Down
Loading