feat: cleanup output and only ever generate latest docs for a version

This commit is contained in:
Jose Diaz-Gonzalez
2022-09-05 21:31:55 -04:00
parent 9cb54fc742
commit 9ab58d6f33
3 changed files with 14 additions and 8 deletions

View File

@@ -324,11 +324,11 @@ def update_markdown(src):
def main():
print("====> Copying mkdocs.yml")
print("----> Copying mkdocs.yml")
print(" Generating navigation")
generate_nav("/usr/src/source/mkdocs.yml", "/usr/src/app/mkdocs.yml")
print("====> Copying docs folder")
print("----> Copying docs folder")
update_markdown("/usr/src/source/docs",)
if os.path.exists("/usr/src/app/docs"):