add comment

This commit is contained in:
konnorrogers
2025-07-16 11:50:59 -04:00
parent 9f09634d7d
commit 677cc5205e
2 changed files with 1 additions and 6 deletions

View File

@@ -29,7 +29,6 @@ let buildContexts = {
const debugPerf = process.env.DEBUG_PERFORMANCE === '1';
const isDeveloping = process.argv.includes('--develop');
// const isIncremental = process.argv.includes('--incremental');
/**
* @typedef {Object} BuildOptions

View File

@@ -60,16 +60,12 @@ export async function generateDocs(options = {}) {
spinner?.start?.('Writing the docs');
if (isIncremental) {
} else {
}
const output = [];
try {
if (isIncremental) {
// no-op.
globalThis.eleventy ||= await createEleventy(options);
// eleventy incremental does its own writing, so we just kinda trust it for right now.
} else {
// Cleanup
await deleteAsync(getSiteDir());