diff --git a/docs/includes.md b/docs/includes.md index 264e2c18..a79c10e6 100644 --- a/docs/includes.md +++ b/docs/includes.md @@ -448,6 +448,19 @@ Please note the specific format for link-type columns (structure of the array ob + + +For each example, you'll need a special base structure so that you can just copy&paste the scripts into SeaTable and run them. + +If you don't want to recreate the tables, here are two bases containing the tables required for each example, depending on whether you want to recreate the scripts yourself or you prefer them to already be present: + +- [Examples material (without scripts)](/media/SeaTable examples material (without scripts).dtable) +- [Examples material (scripts included)](/media/SeaTable examples material (scripts included).dtable) + +Once downloaded, you can easily [create a base from the DTABLE file](https://seatable.com/help/erstellen-einer-base-aus-einer-dtable-datei/). + + + # Add rows diff --git a/docs/media/SeaTable examples material (scripts included).dtable b/docs/media/SeaTable examples material (scripts included).dtable new file mode 100644 index 00000000..959633ed Binary files /dev/null and b/docs/media/SeaTable examples material (scripts included).dtable differ diff --git a/docs/media/SeaTable examples material (without scripts).dtable b/docs/media/SeaTable examples material (without scripts).dtable new file mode 100644 index 00000000..5e05d46a Binary files /dev/null and b/docs/media/SeaTable examples material (without scripts).dtable differ diff --git a/docs/scripts/javascript/examples/index.md b/docs/scripts/javascript/examples/index.md index e9d1d300..226a3641 100644 --- a/docs/scripts/javascript/examples/index.md +++ b/docs/scripts/javascript/examples/index.md @@ -1,6 +1,12 @@ # Examples -This documentation currently contains three easy-to-follow examples of JavaScript scripts. For each example, you'll need a special base structure so that you can just copy&paste the scripts into SeaTable and run them. +This documentation currently contains three easy-to-follow examples of JavaScript scripts. + +{% + include-markdown "includes.md" + start="" + end="" +%} ## Add rows diff --git a/docs/scripts/python/examples/index.md b/docs/scripts/python/examples/index.md index 94830f52..1bdd017c 100644 --- a/docs/scripts/python/examples/index.md +++ b/docs/scripts/python/examples/index.md @@ -4,7 +4,11 @@ This section contains some examples of Python Scripts. The **first three scripts Even if Python scripts are capable of checking if the base structure (tables and columns) needed exist and of creating it if necessary, we didn't implement this feature in the scripts so you can focus on the actual goal of each script. -For each example, you'll then need a special base structure so that you can just copy&paste the scripts into SeaTable and run them. +{% + include-markdown "includes.md" + start="" + end="" +%} # Add rows