From acdca0b6eb77f8e670d23614a58230165d0ae81d Mon Sep 17 00:00:00 2001 From: Sebastian Gode Date: Wed, 1 Oct 2025 12:19:10 +0000 Subject: [PATCH] create path --- tools/generate_doc_confpy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/generate_doc_confpy.py b/tools/generate_doc_confpy.py index 1db47e6..4691d9c 100644 --- a/tools/generate_doc_confpy.py +++ b/tools/generate_doc_confpy.py @@ -375,7 +375,9 @@ def process_repositories(args, service): actions_yaml_content_html = actions_yaml_template_html.render(**context) actions_yaml_content_pdf = actions_yaml_template_pdf.render(**context) actions_yaml_content_html_path = pathlib.Path(copy_to, ".gitea", "workflows", "build-html-docs.yaml") + actions_yaml_content_html_path.parent.mkdir(parents=True, exist_ok=True) actions_yaml_content_pdf_path = pathlib.Path(copy_to, ".gitea", "workflows", "build-pdf-docs.yaml") + actions_yaml_content_pdf_path.parent.mkdir(parents=True, exist_ok=True) with open(actions_yaml_content_html_path, "w", encoding="utf-8", newline="") as out: logging.debug(f"Generating {actions_yaml_content_html_path} from template...") out.write(actions_yaml_content_html)