Skip to content

Commit fd87b2e

Browse files
committed
Fix build, again
1 parent 5fc7e43 commit fd87b2e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"ts-update": "tsx scripts/ts-update.ts external/iesdp/_data/actions ts/ielib/bg2/actions.d.ts external/iesdp/scripting/triggers/bg2triggers.htm ts/ielib/bg2/triggers.d.ts",
99
"iesdp-update": "tsx scripts/iesdp-update.ts -s external/iesdp --opcode_file opcode.tpp",
1010
"test": "vitest run",
11-
"build-site": "tsx scripts/jsdoc-to-yaml.ts && cd docs && bundle exec jekyll build",
12-
"serve": "tsx scripts/jsdoc-to-yaml.ts && cd docs && bundle exec jekyll serve"
11+
"build-site": "tsx scripts/jsdoc-to-yaml.ts && cd docs && bundle install && bundle exec jekyll build",
12+
"serve": "tsx scripts/jsdoc-to-yaml.ts && cd docs && bundle install && bundle exec jekyll serve"
1313
},
1414
"dependencies": {
1515
"gray-matter": "^4.0.3",

scripts/jsdoc-to-yaml.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ function main(): void {
192192
const projectRoot = path.resolve(__dirname, "..");
193193
const functionsDir = path.join(projectRoot, "functions");
194194
const outputDir = path.join(projectRoot, "docs", "_data", "functions");
195+
fs.mkdirSync(outputDir, { recursive: true });
195196

196197
// Read sections.yml to get the list of expected files
197198
const sectionsPath = path.join(projectRoot, "docs", "_data", "sections.yml");

0 commit comments

Comments
 (0)