Skip to content

Commit 11fa1d0

Browse files
devvaannshabose
authored andcommitted
Fix: set config file outDir value to empty string after processing all files
1 parent 6ebda27 commit 11fa1d0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

build/api-docs-generator.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ function generateMdxFiles() {
209209
processJsFile(file, config);
210210
}
211211

212+
// After processing all files, set outDir to empty string
213+
config.outDir = "";
214+
fs.writeFileSync(configFile, JSON.stringify(config, null, 2));
215+
212216
// Post-processing of MDX files
213217
processMdxFiles(mdxApiDir);
214218

build/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"locales": [
33
"en"
44
],
5-
"outDir": "api\\worker\\WorkerComm",
5+
"outDir": "",
66
"jsdoc": "./jsdoc.json",
77
"bulma": false
88
}

0 commit comments

Comments
 (0)