diff options
author | 2022-02-24 17:44:07 +0000 | |
---|---|---|
committer | 2022-02-24 21:57:12 +0400 | |
commit | 222025fdaab4cc66427590dc053730a09a5af24e (patch) | |
tree | a330a6f7b8a4081be138c8f5acc3be3ca8ced99a /docs/utils.py | |
parent | Include utils package in doc cleanup funciton (diff) |
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.
Diffstat (limited to 'docs/utils.py')
-rw-r--r-- | docs/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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") |