Also rebuild the HTML docs that are bundled with the kitty package

This commit is contained in:
Kovid Goyal 2023-06-06 14:36:17 +05:30
parent f0bf780242
commit 99790645c3
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -106,6 +106,9 @@ def run_html(args: Any) -> None:
call('make FAIL_WARN=1 "OPTS=-D analytics_id=G-XTJK3R7GF2" dirhtml', cwd=docs_dir)
add_old_redirects('docs/_build/dirhtml')
shutil.rmtree(os.path.join(docs_dir, '_build', 'html'))
call('make FAIL_WARN=1 "OPTS=-D analytics_id=G-XTJK3R7GF2" html', cwd=docs_dir)
def generate_redirect_html(link_name: str, bname: str) -> None:
with open(link_name, 'w') as f: