From 1fa986dc36d9825b4706d096519c001f3e260158 Mon Sep 17 00:00:00 2001 From: Francois Andrieu Date: Apr 17 2022 23:20:21 +0000 Subject: build: cache ui-bundle for translated build --- diff --git a/build-scripts/rebuild-site.py b/build-scripts/rebuild-site.py index a29e815..5df3eec 100755 --- a/build-scripts/rebuild-site.py +++ b/build-scripts/rebuild-site.py @@ -494,6 +494,9 @@ def main(): if 'id' in ext and ext['id'] == "page-last-update": ext['enabled'] = False + # don't pull ui-bundle (use cache) + lang_site_yml["runtime"]["fetch"] = False + filename = os.path.join(docs_repo, "site-{lang}.yml".format(lang=lang)) with open(filename, "w") as file: file.write(yaml.dump(lang_site_yml))