diff --git a/docs/snippets/compare_snippet_output.py b/docs/snippets/compare_snippet_output.py index 122f829dcd86..2d3d66f7d906 100755 --- a/docs/snippets/compare_snippet_output.py +++ b/docs/snippets/compare_snippet_output.py @@ -136,6 +136,12 @@ def main() -> None: print("----------------------------------------------------------") + print("Downloading test assets…") + run(["pixi", "run", "python", "./tests/assets/download_test_assets.py"]) + print("") + + print("----------------------------------------------------------") + active_languages = ["rust"] if not args.no_cpp: active_languages.append("cpp") diff --git a/docs/snippets/snippets.toml b/docs/snippets/snippets.toml index c9c75ab6e988..535a82f4ca31 100644 --- a/docs/snippets/snippets.toml +++ b/docs/snippets/snippets.toml @@ -184,6 +184,7 @@ quick_start = [ # These examples don't have exactly the same implementation. # `$config_dir` will be replaced with the absolute path of `docs/snippets`. +# Note that the snippet comparison tool will automatically run `/tests/assets/download_test_assets.py` before running the snippets. [extra_args] "archetypes/asset3d_simple" = ["$config_dir/../../tests/assets/cube.glb"] "archetypes/asset3d_out_of_tree" = ["$config_dir/../../tests/assets/cube.glb"]