introduction.md

This commit is contained in:
Paul Gauthier 2023-06-30 20:39:08 -07:00
parent c2009fd113
commit 5942057a9c

View file

@ -433,10 +433,15 @@ def run_test(
instructions = intro.read_text() + "\n\n"
else:
instructions = ""
introduction = testdir / ".docs/introduction.md"
if introduction.exists():
instructions += introduction.read_text()
instructions += (testdir / ".docs/instructions.md").read_text()
instructions_append = testdir / ".docs/instructions.append.md"
if instructions_append.exists():
instructions += instructions_append.read_text()
instructions += prompts.instructions_addendum.format(file_list=file_list)
io = InputOutput(