def pre_release(version):
announce(version)<EOL>regen()<EOL>changelog(version, write_out=True)<EOL>fix_formatting()<EOL>msg = "<STR_LIT>".format(version)<EOL>check_call(["<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", msg])<EOL>print()<EOL>print(f"<STR_LIT>")<EOL>print()<EOL>print(f"<STR_LIT>")<EOL>
Generates new docs, release announcements and creates a local tag.