From 222025fdaab4cc66427590dc053730a09a5af24e Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Thu, 24 Feb 2022 17:44:07 +0000 Subject: Update GHA Docs Build To Match Pyproject Updates the command in GH actions to match the command in pyproject to generate the correct output. Kaizens a small fix in clean up. --- docs/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/utils.py') diff --git a/docs/utils.py b/docs/utils.py index 6afbeec0..76b3e098 100644 --- a/docs/utils.py +++ b/docs/utils.py @@ -79,7 +79,7 @@ def cleanup() -> None: # Example: botcore.exts -> Botcore Exts title = content[0].split()[0].strip().replace("botcore.", "").replace(".", " ").title() title = f"{title}\n{'=' * len(title)}\n\n" - content[0:2] = title + content = title, *content[3:] file.write_text("".join(content), encoding="utf-8") -- cgit v1.2.3