diff --git a/orbiter/objects/project.py b/orbiter/objects/project.py index 61df2e4..fe3271a 100644 --- a/orbiter/objects/project.py +++ b/orbiter/objects/project.py @@ -554,6 +554,7 @@ def render(self, output_dir: Path) -> None: for include in self.includes.values(): include_path = output_dir / include.filepath logger.info(f"Writing {include_path}") + include_path.parent.mkdir(parents=True, exist_ok=True) include_path.write_text(include.render()) else: logger.debug("No files to include")