From 18020b532527bec7841d40b83c317f7df0549991 Mon Sep 17 00:00:00 2001 From: Mike Bell Date: Tue, 29 Jul 2025 19:47:32 +0100 Subject: [PATCH] feat(docs): Add tinyqv docs template checks --- project.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/project.py b/project.py index 0d3bd91..47fe55c 100644 --- a/project.py +++ b/project.py @@ -817,6 +817,15 @@ class Project: logging.error("Missing 'How to test' section in docs/info.md") exit(1) + # These are TinyQV template specific but still shouldn't trigger on valid docs. + if "# Your project title" in info_md_content: + logging.error("Title not updated in docs/info.md") + exit(1) + + if "Author: \n" in info_md_content: + logging.error("Missing 'Author' in docs/info.md") + exit(1) + # use pandoc to create a single page PDF preview def create_pdf(self): template_args = copy.deepcopy(self.info.__dict__)