From f461798980caabc7c484005b399d7f74a5bfa3c7 Mon Sep 17 00:00:00 2001 From: Antoine Beyeler Date: Mon, 14 Oct 2024 14:25:56 +0200 Subject: [PATCH] Move the script to the right place and opt out of running it --- docs/content/getting-started/data-out/analyze-and-log.md | 2 +- .../data_out.py => quick_start/quick_start_data_out.py} | 0 docs/snippets/snippets.toml | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) rename docs/snippets/all/{tutorials/data_out.py => quick_start/quick_start_data_out.py} (100%) diff --git a/docs/content/getting-started/data-out/analyze-and-log.md b/docs/content/getting-started/data-out/analyze-and-log.md index 1a5bf1031074..da23ff6c46f5 100644 --- a/docs/content/getting-started/data-out/analyze-and-log.md +++ b/docs/content/getting-started/data-out/analyze-and-log.md @@ -83,4 +83,4 @@ The OPEN/CLOSE label is displayed along the bounding box on the 2D view, and the Here is the complete script used by this guide to load data, analyze it, and log the result back: -snippet: tutorials/data_out +snippet: quick_start/quick_start_data_out diff --git a/docs/snippets/all/tutorials/data_out.py b/docs/snippets/all/quick_start/quick_start_data_out.py similarity index 100% rename from docs/snippets/all/tutorials/data_out.py rename to docs/snippets/all/quick_start/quick_start_data_out.py diff --git a/docs/snippets/snippets.toml b/docs/snippets/snippets.toml index 6271b774320e..da4405263de2 100644 --- a/docs/snippets/snippets.toml +++ b/docs/snippets/snippets.toml @@ -81,6 +81,9 @@ views = [ "cpp", # Not implemented "rust", # Not implemented ] +"quick_start/quick_start_data_out" = [ + "py", # Requires context (an RRD file to be exported by the user) +] # These entries will run but their results won't be compared to the baseline. #