diff --git a/CI/gen_doc/docs/gen_sysobj_pages.py b/CI/gen_doc/docs/gen_sysobj_pages.py index 87113a3..946baa1 100644 --- a/CI/gen_doc/docs/gen_sysobj_pages.py +++ b/CI/gen_doc/docs/gen_sysobj_pages.py @@ -69,4 +69,13 @@ def cleanup(obj): with open(loc, "w") as f: f.write(output) + # Update mkdocs.yml + loc = os.path.join("mkdocs.tmpl") + template = env.get_template(loc) + output = template.render(devices=devices, matlab=matlab) + + loc = os.path.join("..", "mkdocs.yml") + with open(loc, "w") as f: + f.write(output) + return devices