From 069ee2c997c2c0f11a8b18df3758e8e9ebb60cc9 Mon Sep 17 00:00:00 2001 From: Shyue Ping Ong Date: Mon, 29 Jul 2024 17:53:38 +0800 Subject: [PATCH] Reformat tasks.py. --- tasks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index 51c638e45..921412adb 100755 --- a/tasks.py +++ b/tasks.py @@ -74,7 +74,9 @@ def make_doc(ctx: Context) -> None: "{: .no_toc }\n\n## Table of contents\n{: .no_toc .text-delta }\n* TOC\n{:toc}\n\n", contents, ) - contents = "---\nlayout: default\ntitle: Home\nnav_order: 1\n---\n\n" + contents + contents = ( + "---\nlayout: default\ntitle: Home\nnav_order: 1\n---\n\n" + contents + ) f.write(contents)