Skip to content

Commit 4b83309

Browse files
committed
tests - add support for manuscript type to determine project output directory
1 parent 541df95 commit 4b83309

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/utils.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ export function findProjectOutputDir(projectdir: string | undefined) {
6060
if (type === "website") {
6161
return (yaml as any)?.project?.["output-dir"] || "_site";
6262
}
63+
if (type === "manuscript") {
64+
return (yaml as any)?.project?.["output-dir"] || "_manuscript";
65+
}
6366
}
6467

6568
// Gets output that should be created for this input file and target format

0 commit comments

Comments
 (0)