Publish both 0.2 and dev websites

This commit is contained in:
Jack Gerrits
2024-09-30 17:09:52 -04:00
parent 4ea1f7a8b3
commit 5cb5bda522
3 changed files with 89 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ def main():
sys.exit(1)
base_dir = Path(sys.argv[1])
generate_redirect("/", "/0.2/", base_dir)
generate_redirect("/autogen/", "/autogen/0.2/", base_dir)
if __name__ == '__main__':
main()

View File

@@ -59,7 +59,7 @@ myst_enable_extensions = [
"strikethrough",
]
html_baseurl = "/dev/"
html_baseurl = "/autogen/dev/"
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output