@@ -34,7 +34,7 @@ In the [Cloud plans & Self-Hosted Enterprise Edition](/pricing), workers can be
@@ -257,15 +257,15 @@ Examples of configurations include:
## Init scripts
-[Init scripts](../../advanced/8_preinstall_binaries/index.mdx#init-scripts) provide a method to pre-install binaries or set initial configurations without the need to modify the base image. This approach offers added convenience. Init Scripts are executed at the beginning when the worker starts, ensuring that any necessary binaries or configurations are set up before the worker undertakes any other job.
+[Init scripts](../../advanced/8_preinstall_binaries/index.mdx#init-scripts) provide a method to pre-install binaries or set initial configurations without the need to modify the base image. This approach offers added convenience. Init scripts are executed at the beginning when the worker starts, ensuring that any necessary binaries or configurations are set up before the worker undertakes any other job.
Under the [Cloud plans & Self-Hosted Enterprise Edition](/pricing), they can be set from Windmill UI.
@@ -274,8 +274,8 @@ Under the [Cloud plans & Self-Hosted Enterprise Edition](/pricing), they can be
diff --git a/docs/core_concepts/index.mdx b/docs/core_concepts/index.mdx
index e08bb41ec..d43c7baf8 100644
--- a/docs/core_concepts/index.mdx
+++ b/docs/core_concepts/index.mdx
@@ -275,7 +275,7 @@ All details on Scripts can be found in the [Script section](../script_editor/ind
@@ -290,13 +290,8 @@ All details on Scripts can be found in the [Script section](../script_editor/ind
href="/docs/core_concepts/versioning#script-versioning"
/>
-
@@ -599,4 +594,19 @@ All details & features on [Pricing page](/pricing).
description="The Windmill React SDK provides a suite of tools and components to integrate Windmill applications into React-based projects."
href="/docs/misc/react_sdk"
/>
+
+
+
diff --git a/docs/flows/11_flow_approval.mdx b/docs/flows/11_flow_approval.mdx
index 04fe2e384..a4d1112b9 100644
--- a/docs/flows/11_flow_approval.mdx
+++ b/docs/flows/11_flow_approval.mdx
@@ -42,7 +42,7 @@ The approval steps are received in the form of an HTTP request. For each event,
diff --git a/docs/flows/1_flow_editor.mdx b/docs/flows/1_flow_editor.mdx
index 02952b3d0..132017c32 100644
--- a/docs/flows/1_flow_editor.mdx
+++ b/docs/flows/1_flow_editor.mdx
@@ -126,7 +126,7 @@ The Flow editor has the following features which are the subject of specific pag
diff --git a/docs/flows/3_editor_components.mdx b/docs/flows/3_editor_components.mdx
index 38f8f3be7..8918ffacd 100644
--- a/docs/flows/3_editor_components.mdx
+++ b/docs/flows/3_editor_components.mdx
@@ -466,14 +466,14 @@ The advanced section allows to configure the following:
/>
diff --git a/docs/getting_started/0_scripts_quickstart/2_python_quickstart/create_script_python.png b/docs/getting_started/0_scripts_quickstart/2_python_quickstart/create_script_python.png
deleted file mode 100644
index 34872d241..000000000
Binary files a/docs/getting_started/0_scripts_quickstart/2_python_quickstart/create_script_python.png and /dev/null differ
diff --git a/docs/getting_started/0_scripts_quickstart/2_python_quickstart/create_script_python.png.webp b/docs/getting_started/0_scripts_quickstart/2_python_quickstart/create_script_python.png.webp
deleted file mode 100644
index b0a6ee945..000000000
Binary files a/docs/getting_started/0_scripts_quickstart/2_python_quickstart/create_script_python.png.webp and /dev/null differ
diff --git a/docs/getting_started/0_scripts_quickstart/2_python_quickstart/index.mdx b/docs/getting_started/0_scripts_quickstart/2_python_quickstart/index.mdx
index 7a8d4a94c..27a8a7c93 100644
--- a/docs/getting_started/0_scripts_quickstart/2_python_quickstart/index.mdx
+++ b/docs/getting_started/0_scripts_quickstart/2_python_quickstart/index.mdx
@@ -77,9 +77,9 @@ first step of script creation: Metadata.
## Settings
-![New script](./create_script_python.png.webp)
+![New script](../../../../static/images/script_languages.png "New script")
-As part of the settings menu, each script has metadata associated with it, enabling it to be defined and configured in depth.
+As part of the [settings](../../../script_editor/settings.mdx) menu, each script has metadata associated with it, enabling it to be defined and configured in depth.
- **Path** is the Script's unique identifier that consists of the
[script's owner](../../../core_concepts/16_roles_and_permissions/index.mdx), and the script's name.
@@ -92,12 +92,7 @@ As part of the settings menu, each script has metadata associated with it, enabl
to users on how to run your Script. It supports markdown.
- **Script kind**: Action (by default), [Trigger](../../../flows/10_flow_trigger.mdx), [Approval](../../../flows/11_flow_approval.mdx) or [Error handler](../../../flows/7_flow_error_handler.md). This acts as a tag to filter appropriate scripts from the [flow editor](../../6_flows_quickstart/index.mdx).
-This menu also has additional settings, such as:
-
-- **[Concurrency limits](../../../script_editor/concurrency_limit.mdx)** enable defining concurrency limits for scripts and inline scripts within flows to prevent exceeding the API Limit of the targeted API.
-- **[Worker group tag](../../../core_concepts/9_worker_groups/index.mdx)** to assign scripts to specific worker groups (such as nodes with GPU accelaration).
-- **[Cache](../../../core_concepts/24_caching/index.md)** to cache the results for each possible inputs for a given time.
-- **[Dedicated Workers](../../../core_concepts/25_dedicated_workers/index.mdx)** to run the script on, to run the script at native speed. Only available on [Cloud plans and Self-Hosted Enterprise edition](/pricing) and with Python and TypeScript.
+This menu also has additional settings on [Runtime](../../../script_editor/settings.mdx#runtime), [Generated UI](#triggers) and [Triggers](../../../script_editor/settings.mdx#triggers).
diff --git a/docs/getting_started/0_scripts_quickstart/3_go_quickstart/create_script_go.png b/docs/getting_started/0_scripts_quickstart/3_go_quickstart/create_script_go.png
deleted file mode 100644
index e4063ab47..000000000
Binary files a/docs/getting_started/0_scripts_quickstart/3_go_quickstart/create_script_go.png and /dev/null differ
diff --git a/docs/getting_started/0_scripts_quickstart/3_go_quickstart/create_script_go.png.webp b/docs/getting_started/0_scripts_quickstart/3_go_quickstart/create_script_go.png.webp
deleted file mode 100644
index f888ebc65..000000000
Binary files a/docs/getting_started/0_scripts_quickstart/3_go_quickstart/create_script_go.png.webp and /dev/null differ
diff --git a/docs/getting_started/0_scripts_quickstart/3_go_quickstart/index.mdx b/docs/getting_started/0_scripts_quickstart/3_go_quickstart/index.mdx
index 31979f50f..945d849c5 100644
--- a/docs/getting_started/0_scripts_quickstart/3_go_quickstart/index.mdx
+++ b/docs/getting_started/0_scripts_quickstart/3_go_quickstart/index.mdx
@@ -84,9 +84,9 @@ first step of script creation: Metadata.
## Settings
-![New script](./create_script_go.png.webp)
+![New script](../../../../static/images/script_languages.png "New script")
-As part of the settings menu, each script has metadata associated with it, enabling it to be defined and configured in depth.
+As part of the [settings](../../../script_editor/settings.mdx) menu, each script has metadata associated with it, enabling it to be defined and configured in depth.
- **Path** is the Script's unique identifier that consists of the
[script's owner](../../../core_concepts/16_roles_and_permissions/index.mdx), and the script's name.
@@ -99,12 +99,7 @@ As part of the settings menu, each script has metadata associated with it, enabl
to users on how to run your Script. It supports markdown.
- **Script kind**: Action (by default), [Trigger](../../../flows/10_flow_trigger.mdx), [Approval](../../../flows/11_flow_approval.mdx) or [Error handler](../../../flows/7_flow_error_handler.md). This acts as a tag to filter appropriate scripts from the [flow editor](../../6_flows_quickstart/index.mdx).
-This menu also has additional settings, such as:
-
-- **[Concurrency limits](../../../script_editor/concurrency_limit.mdx)** enable defining concurrency limits for scripts and inline scripts within flows to prevent exceeding the API Limit of the targeted API.
-- **[Worker group tag](../../../core_concepts/9_worker_groups/index.mdx)** to assign scripts to specific worker groups (such as nodes with GPU acceleration).
-- **[Cache](../../../core_concepts/24_caching/index.md)** to cache the results for each possible inputs for a given time.
-- **[Dedicated Workers](../../../core_concepts/25_dedicated_workers/index.mdx)** to run the script on, to run the script at native speed. Only available on [Cloud plans and Self-Hosted Enterprise edition](/pricing) and with Python and TypeScript.
+This menu also has additional settings on [Runtime](../../../script_editor/settings.mdx#runtime), [Generated UI](#triggers) and [Triggers](../../../script_editor/settings.mdx#triggers).
diff --git a/docs/getting_started/0_scripts_quickstart/4_bash_quickstart/create_script_bash.png b/docs/getting_started/0_scripts_quickstart/4_bash_quickstart/create_script_bash.png
deleted file mode 100644
index d4fe92291..000000000
Binary files a/docs/getting_started/0_scripts_quickstart/4_bash_quickstart/create_script_bash.png and /dev/null differ
diff --git a/docs/getting_started/0_scripts_quickstart/4_bash_quickstart/create_script_bash.png.webp b/docs/getting_started/0_scripts_quickstart/4_bash_quickstart/create_script_bash.png.webp
deleted file mode 100644
index 319df4f71..000000000
Binary files a/docs/getting_started/0_scripts_quickstart/4_bash_quickstart/create_script_bash.png.webp and /dev/null differ
diff --git a/docs/getting_started/0_scripts_quickstart/4_bash_quickstart/index.mdx b/docs/getting_started/0_scripts_quickstart/4_bash_quickstart/index.mdx
index d5f198455..b5c5b6282 100644
--- a/docs/getting_started/0_scripts_quickstart/4_bash_quickstart/index.mdx
+++ b/docs/getting_started/0_scripts_quickstart/4_bash_quickstart/index.mdx
@@ -97,9 +97,9 @@ first step of script creation: Metadata.
## Settings
-![New script](./create_script_bash.png.webp)
+![New script](../../../../static/images/script_languages.png "New script")
-As part of the settings menu, each script has metadata associated with it, enabling it to be defined and configured in depth.
+As part of the [settings](../../../script_editor/settings.mdx) menu, each script has metadata associated with it, enabling it to be defined and configured in depth.
- **Path** is the Script's unique identifier that consists of the
[script's owner](../../../core_concepts/16_roles_and_permissions/index.mdx), and the script's name.
@@ -112,12 +112,7 @@ As part of the settings menu, each script has metadata associated with it, enabl
to users on how to run your Script. It supports markdown.
- **Script kind**: Action (by default), [Trigger](../../../flows/10_flow_trigger.mdx), [Approval](../../../flows/11_flow_approval.mdx) or [Error handler](../../../flows/7_flow_error_handler.md). This acts as a tag to filter appropriate scripts from the [flow editor](../../6_flows_quickstart/index.mdx).
-This menu also has additional settings, such as:
-
-- **[Concurrency limits](../../../script_editor/concurrency_limit.mdx)** enable defining concurrency limits for scripts and inline scripts within flows to prevent exceeding the API Limit of the targeted API.
-- **[Worker group tag](../../../core_concepts/9_worker_groups/index.mdx)** to assign scripts to specific worker groups (such as nodes with GPU acceleration).
-- **[Cache](../../../core_concepts/24_caching/index.md)** to cache the results for each possible inputs for a given time.
-- **[Dedicated Workers](../../../core_concepts/25_dedicated_workers/index.mdx)** to run the script on, to run the script at native speed. Only available on [Cloud plans and Self-Hosted Enterprise edition](/pricing) and with Python and TypeScript.
+This menu also has additional settings on [Runtime](../../../script_editor/settings.mdx#runtime), [Generated UI](#triggers) and [Triggers](../../../script_editor/settings.mdx#triggers).
diff --git a/docs/getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx b/docs/getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx
index 15d7d810a..0e21b150a 100644
--- a/docs/getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx
+++ b/docs/getting_started/0_scripts_quickstart/5_sql_quickstart/index.mdx
@@ -806,7 +806,7 @@ And so on for [MS SQL](#ms-sql), [BigQuery](#bigquery) and [Snowflake](#snowflak
After you're done, click on "[Deploy](../../../core_concepts/0_draft_and_deploy/index.mdx)", which will save it to your workspace. You can now use this Script in your [Flows](../../../flows/1_flow_editor.mdx), [app](../../../apps/0_app_editor/index.mdx) or as standalone.
Feel free to customize your script's metadata ([path](../../../core_concepts/16_roles_and_permissions/index.mdx#path), name, description),
-runtime ([concurrency limits](../../../script_editor/concurrency_limit.mdx), [worker group](../../../script_editor/worker_group_tag.mdx),
+runtime ([concurrency limits](../../../script_editor/concurrency_limit.mdx), [worker group](../../../script_editor/settings.mdx#worker-group-tag),
[cache](../../../core_concepts/24_caching/index.md), [dedicated workers](../../../core_concepts/25_dedicated_workers/index.mdx)) and [generated UI](../../../script_editor/customize_ui.mdx).
![Customize SQL](./customize_sql.png 'Customize SQL')
diff --git a/docs/getting_started/0_scripts_quickstart/6_rest_grapqhql_quickstart/create_script_rest.png b/docs/getting_started/0_scripts_quickstart/6_rest_grapqhql_quickstart/create_script_rest.png
deleted file mode 100644
index be352c799..000000000
Binary files a/docs/getting_started/0_scripts_quickstart/6_rest_grapqhql_quickstart/create_script_rest.png and /dev/null differ
diff --git a/docs/getting_started/0_scripts_quickstart/6_rest_grapqhql_quickstart/create_script_rest.png.webp b/docs/getting_started/0_scripts_quickstart/6_rest_grapqhql_quickstart/create_script_rest.png.webp
deleted file mode 100644
index 6d326b84c..000000000
Binary files a/docs/getting_started/0_scripts_quickstart/6_rest_grapqhql_quickstart/create_script_rest.png.webp and /dev/null differ
diff --git a/docs/getting_started/0_scripts_quickstart/6_rest_grapqhql_quickstart/index.mdx b/docs/getting_started/0_scripts_quickstart/6_rest_grapqhql_quickstart/index.mdx
index a42005fb8..95e61d8b6 100644
--- a/docs/getting_started/0_scripts_quickstart/6_rest_grapqhql_quickstart/index.mdx
+++ b/docs/getting_started/0_scripts_quickstart/6_rest_grapqhql_quickstart/index.mdx
@@ -67,9 +67,9 @@ export async function main() {
## Settings
-![New script](./create_script_rest.png.webp)
+![New script](../../../../static/images/script_languages.png "New script")
-As part of the settings menu, each script has metadata associated with it, enabling it to be defined and configured in depth.
+As part of the [settings](../../../script_editor/settings.mdx) menu, each script has metadata associated with it, enabling it to be defined and configured in depth.
- **Path** is the Script's unique identifier that consists of the
[script's owner](../../../core_concepts/16_roles_and_permissions/index.mdx), and the script's name.
@@ -82,12 +82,7 @@ As part of the settings menu, each script has metadata associated with it, enabl
to users on how to run your Script. It supports markdown.
- **Script kind**: Action (by default), [Trigger](../../../flows/10_flow_trigger.mdx), [Approval](../../../flows/11_flow_approval.mdx) or [Error handler](../../../flows/7_flow_error_handler.md). This acts as a tag to filter appropriate scripts from the [flow editor](../../6_flows_quickstart/index.mdx).
-This menu also has additional settings, such as:
-
-- **[Concurrency limits](../../../script_editor/concurrency_limit.mdx)** enable defining concurrency limits for scripts and inline scripts within flows to prevent exceeding the API Limit of the targeted API.
-- **[Worker group tag](../../../core_concepts/9_worker_groups/index.mdx)** to assign scripts to specific worker groups (such as nodes with GPU acceleration).
-- **[Cache](../../../core_concepts/24_caching/index.md)** to cache the results for each possible inputs for a given time.
-- **[Dedicated Workers](../../../core_concepts/25_dedicated_workers/index.mdx)** to run the script on, to run the script at native speed. Only available on [Cloud plans and Self-Hosted Enterprise edition](/pricing) and with Python and TypeScript.
+This menu also has additional settings on [Runtime](../../../script_editor/settings.mdx#runtime), [Generated UI](#triggers) and [Triggers](../../../script_editor/settings.mdx#triggers).
diff --git a/docs/getting_started/0_scripts_quickstart/7_docker_quickstart/index.mdx b/docs/getting_started/0_scripts_quickstart/7_docker_quickstart/index.mdx
index 856feff2e..70f7049ba 100644
--- a/docs/getting_started/0_scripts_quickstart/7_docker_quickstart/index.mdx
+++ b/docs/getting_started/0_scripts_quickstart/7_docker_quickstart/index.mdx
@@ -155,9 +155,9 @@ first step of script creation: Metadata.
## Settings
-![New script](../4_bash_quickstart/create_script_bash.png.webp)
+![New script](../../../../static/images/script_languages.png "New script")
-As part of the settings menu, each script has metadata associated with it, enabling it to be defined and configured in depth.
+As part of the [settings](../../../script_editor/settings.mdx) menu, each script has metadata associated with it, enabling it to be defined and configured in depth.
- **Path** is the Script's unique identifier that consists of the
[script's owner](../../../core_concepts/16_roles_and_permissions/index.mdx), and the script's name.
@@ -170,12 +170,7 @@ As part of the settings menu, each script has metadata associated with it, enabl
to users on how to run your Script. It supports markdown.
- **Script kind**: Action (by default), [Trigger](../../../flows/10_flow_trigger.mdx), [Approval](../../../flows/11_flow_approval.mdx) or [Error handler](../../../flows/7_flow_error_handler.md). This acts as a tag to filter appropriate scripts from the [flow editor](../../6_flows_quickstart/index.mdx).
-This menu also has additional settings, such as:
-
-- **[Concurrency limits](../../../script_editor/concurrency_limit.mdx)** enable defining concurrency limits for scripts and inline scripts within flows to prevent exceeding the API Limit of the targeted API.
-- **[Worker group tag](../../../core_concepts/9_worker_groups/index.mdx)** to assign scripts to specific worker groups (such as nodes with GPU accelaration).
-- **[Cache](../../../core_concepts/24_caching/index.md)** to cache the results for each possible inputs for a given time.
-- **[Dedicated Workers](../../../core_concepts/25_dedicated_workers/index.mdx)** to run the script on, to run the script at native speed. Only available on [Cloud plans and Self-Hosted Enterprise edition](/pricing) and with Python and TypeScript.
+This menu also has additional settings on [Runtime](../../../script_editor/settings.mdx#runtime), [Generated UI](#triggers) and [Triggers](../../../script_editor/settings.mdx#triggers).
diff --git a/docs/getting_started/0_scripts_quickstart/8_php_quickstart/create_script_php.png b/docs/getting_started/0_scripts_quickstart/8_php_quickstart/create_script_php.png
deleted file mode 100644
index 195114f2e..000000000
Binary files a/docs/getting_started/0_scripts_quickstart/8_php_quickstart/create_script_php.png and /dev/null differ
diff --git a/docs/getting_started/0_scripts_quickstart/8_php_quickstart/index.mdx b/docs/getting_started/0_scripts_quickstart/8_php_quickstart/index.mdx
index 137b11fb3..324c80b44 100644
--- a/docs/getting_started/0_scripts_quickstart/8_php_quickstart/index.mdx
+++ b/docs/getting_started/0_scripts_quickstart/8_php_quickstart/index.mdx
@@ -72,9 +72,9 @@ From the Home page, click `+Script`. This will take you to the first step of scr
## Settings
-![New script](./create_script_php.png "New script")
+![New script](../../../../static/images/script_languages.png "New script")
-As part of the settings menu, each script has metadata associated with it, enabling it to be defined and configured in depth.
+As part of the [settings](../../../script_editor/settings.mdx) menu, each script has metadata associated with it, enabling it to be defined and configured in depth.
- **Path** is the Script's unique identifier that consists of the
[script's owner](../../../core_concepts/16_roles_and_permissions/index.mdx), and the script's name.
@@ -87,12 +87,7 @@ As part of the settings menu, each script has metadata associated with it, enabl
to users on how to run your Script. It supports markdown.
- **Script kind**: Action (by default), [Trigger](../../../flows/10_flow_trigger.mdx), [Approval](../../../flows/11_flow_approval.mdx) or [Error handler](../../../flows/7_flow_error_handler.md). This acts as a tag to filter appropriate scripts from the [flow editor](../../6_flows_quickstart/index.mdx).
-This menu also has additional settings, such as:
-
-- **[Concurrency limits](../../../script_editor/concurrency_limit.mdx)** enable defining concurrency limits for scripts and inline scripts within flows to prevent exceeding the API Limit of the targeted API.
-- **[Worker group tag](../../../core_concepts/9_worker_groups/index.mdx)** to assign scripts to specific worker groups (such as nodes with GPU accelaration).
-- **[Cache](../../../core_concepts/24_caching/index.md)** to cache the results for each possible inputs for a given time.
-- **[Dedicated Workers](../../../core_concepts/25_dedicated_workers/index.mdx)** to run the script on, to run the script at native speed. Only available on [Cloud plans and Self-Hosted Enterprise edition](/pricing) and with Python and TypeScript.
+This menu also has additional settings on [Runtime](../../../script_editor/settings.mdx#runtime), [Generated UI](#triggers) and [Triggers](../../../script_editor/settings.mdx#triggers).
diff --git a/docs/getting_started/0_scripts_quickstart/9_ansible_quickstart/index.mdx b/docs/getting_started/0_scripts_quickstart/9_ansible_quickstart/index.mdx
index a5266f755..53cb35e0f 100644
--- a/docs/getting_started/0_scripts_quickstart/9_ansible_quickstart/index.mdx
+++ b/docs/getting_started/0_scripts_quickstart/9_ansible_quickstart/index.mdx
@@ -7,9 +7,7 @@ import DocCard from '@site/src/components/DocCard';
# Ansible quickstart
-## Windmill Scripts
-
-In this quickstart guide, we will write our first script/playbook with ansible.
+In this quickstart guide, we will write our first script/playbook with [Ansible](https://www.ansible.com/).
-#### Webhooks: Trigger scripts from Slack
+#### Webhooks: trigger scripts from Slack
One use case of webhooks is [building a Slackbot with Windmill](/blog/handler-slack-commands).
diff --git a/docs/getting_started/9_trigger_flows/index.mdx b/docs/getting_started/9_trigger_flows/index.mdx
index adadd0319..b801e1c07 100644
--- a/docs/getting_started/9_trigger_flows/index.mdx
+++ b/docs/getting_started/9_trigger_flows/index.mdx
@@ -8,7 +8,7 @@ On-demand triggers:
- [Auto-generated UIs](/docs/getting_started/trigger_flows#auto-generated-uis)
- [Customized UIs with the App editor](#customized-uis-with-the-app-editor)
-- [Schedule the Execution of a Flow](#schedule-the-execution-of-a-flow)
+- [Schedule](#schedule)
- [Trigger Flows from CLI (Command-line interface)](#cli-command-line-interface)
- [Trigger a Flow from another Flow](#trigger-a-flow-from-another-flow)
@@ -19,7 +19,7 @@ Triggers from external events:
- [Custom HTTP routes](#custom-http-routes)
- [Scheduling + Trigger scripts](#scheduling--trigger-scripts)
-## On-demand Triggers
+## On-demand triggers
### Auto-generated UIs
@@ -82,7 +82,7 @@ You can also [automatically generate](../../core_concepts/6_auto_generated_uis/i
src="/videos/cowsay_app.mp4"
/>
-### Schedule the Execution of a Flow
+### Schedule
Windmill allows you to schedule scripts using a user-friendly interface and control panels, **similar to [cron](https://crontab.guru/)** but with more features.
@@ -143,7 +143,7 @@ Windmill supports inner flows. This allows you to call a flow from another workf
/>
-## Triggers from External Events
+## Triggers from external events
### Trigger from API
@@ -175,7 +175,7 @@ Using webhooks, you could also trigger a flow from scripts.
/>
-#### Webhooks: Trigger Flows from Slack
+#### Webhooks: trigger flows from Slack
One use case of webhooks is [building a Slackbot with Windmill](/blog/handler-slack-commands).
diff --git a/docs/misc/11_worker_group_management_ui/index.mdx b/docs/misc/11_worker_group_management_ui/index.mdx
index d4773e95d..6ba79e85e 100644
--- a/docs/misc/11_worker_group_management_ui/index.mdx
+++ b/docs/misc/11_worker_group_management_ui/index.mdx
@@ -27,8 +27,8 @@ More at:
href="/docs/core_concepts/dedicated_workers"
/>
diff --git a/docs/misc/17_windows_workers/index.mdx b/docs/misc/17_windows_workers/index.mdx
index cd25bf141..ec703649a 100644
--- a/docs/misc/17_windows_workers/index.mdx
+++ b/docs/misc/17_windows_workers/index.mdx
@@ -1,10 +1,10 @@
---
-title: Windows-Workers
+title: Windows workers
---
import DocCard from '@site/src/components/DocCard';
-# Windows Workers
+# Windows workers
Windows Native Workers are a [Self-Hosted Enterprise](/pricing) Feature.
diff --git a/docs/script_editor/concurrency_limit.mdx b/docs/script_editor/concurrency_limit.mdx
index 69104357c..1721babd7 100644
--- a/docs/script_editor/concurrency_limit.mdx
+++ b/docs/script_editor/concurrency_limit.mdx
@@ -6,13 +6,13 @@ canonical_url: /docs/core_concepts/concurrency_limits
The Concurrency limits feature allows you to define concurrency limits for scripts, flows and inline scripts within flows. Its primary goal is to prevent exceeding the API Limit of the targeted API, eliminating the need for complex workarounds using worker groups.
-![Concurrency Limit](../assets/code_editor/concurrency_limit.png.webp)
+![Concurrency limit](../assets/code_editor/concurrency_limit.png.webp)
Concurrency limit is a [Cloud plans and Pro Enterprise Self-Hosted](/pricing) only.
Concurrency limit can be set from the Settings menu. When jobs reach the concurrency limit, they are automatically queued for execution at the next available optimal slot given the time window.
-The Concurrency Limit operates globally and across flow runs. It involves three key parameters:
+The Concurrency limit operates globally and across flow runs. It involves three key parameters:
## Max number of executions within the time window
diff --git a/docs/script_editor/index.mdx b/docs/script_editor/index.mdx
index 374101b78..d0e6d0507 100644
--- a/docs/script_editor/index.mdx
+++ b/docs/script_editor/index.mdx
@@ -18,7 +18,7 @@ specification and the [code content](../code_editor/index.mdx).
![Script languages](../../static/images/script_languages.png 'Script languages')
Python and Go Scripts also have an
-auto-generated lockfile that ensure that executions of the same Script always
+auto-generated [lockfile](../advanced/6_imports/index.mdx) that ensure that executions of the same Script always
use the exact same set of versioned dependencies. To fit Windmill's execution model, the code must always have a
main function, which is its entrypoint when executed as an individual serverless
endpoint or a [Flow](../flows/1_flow_editor.mdx) module and typed parameters used to infer the script's inputs and [auto-generated UI](../core_concepts/6_auto_generated_uis/index.mdx):
@@ -93,7 +93,7 @@ The Script editor is made of the following features:
href="/docs/script_editor/settings"
/>
@@ -108,13 +108,8 @@ The Script editor is made of the following features:
href="/docs/core_concepts/versioning#script-versioning"
/>
-
-## Approval Scripts
+## Approval scripts
Suspend a flow until it's approved. An Approval Script will interact with the
Windmill API using any of the Windmill clients to retrieve a secret approval URL
-and resume/cancel endpoints. Most common scenario for Approval Scripts is to
+and resume/cancel endpoints. Most common scenario for Approval scripts is to
send an external notification with an URL that can be used to resume or cancel a
flow.
diff --git a/docs/script_editor/settings.mdx b/docs/script_editor/settings.mdx
index adb53c116..d773d7c51 100644
--- a/docs/script_editor/settings.mdx
+++ b/docs/script_editor/settings.mdx
@@ -2,13 +2,29 @@ import DocCard from '@site/src/components/DocCard';
# Settings
-Each script has metadata associated with it, enabling it to be defined and configured in depth.
+Each script has settings associated with it, enabling it to be defined and configured in depth.
-![Script Metadata](../assets/code_editor/script_metadata.png 'Script Metadata')
+![Script settings](../../static/images/script_languages.png 'Script settings')
-## Path
+## Metadata
-**Path** is the Script's unique identifier that consists of the [script's owner](../core_concepts/16_roles_and_permissions/index.mdx#permissions-and-access-control), and the script's name.
+Metadata is used to define the script's path, summary, description, language and kind.
+
+### Summary
+
+Summary (optional) is a short, human-readable summary of the Script. It will be displayed as a title across Windmill. If omitted, the UI will use the `path` by default.
+
+It can be pre-filled automatically using [Windmill AI](../core_concepts/22_ai_generation/index.mdx):
+
+
+
+### Path
+
+Path is the Script's unique identifier that consists of the [script's owner](../core_concepts/16_roles_and_permissions/index.mdx#permissions-and-access-control), and the script's name.
The owner can be either a user, or a group of users ([folder](../core_concepts/8_groups_and_folders/index.mdx#folders)).
@@ -24,19 +40,11 @@ The owner can be either a user, or a group of users ([folder](../core_concepts/8
/>
-## Summary
+### Description
-Summary (optional) is a short, human-readable summary of the Script. It will be displayed as a title across Windmill. If omitted, the UI will use the `path` by default.
-
-It can be pre-filled automatically using [Windmill AI](../core_concepts/22_ai_generation/index.mdx):
-
-
+This is where you can give instructions to users on how to run your Script. It supports markdown.
-## Language
+### Language
Language of the script. Windmill supports:
- [TypeScript](../getting_started/0_scripts_quickstart/1_typescript_quickstart/index.mdx) (Bun & Deno)
@@ -53,23 +61,63 @@ The setting applies to scripts, flows and apps and is global to all users within
![Configurable Default Languages](../assets/script_editor/configurable-languages.png 'Configurable Default Languages')
-## Description
+### Script kind
-This is where you can give instructions to users on how to run your Script. It supports markdown.
+You can attach additional functionalities to Scripts by specializing them into specific Script kinds (Actions, Trigger, Approval, Error handler).
+
+
+
+
+
+## Runtime
+
+Runtime settings allow you to configure how your script is executed.
+
+![Script runtime](../../static/images/script_runtime.png "Script runtime")
-## Concurrency limits
+### Concurrency limits
-The Concurrency Limit feature allows you to define concurrency limits for scripts and inline scripts within flows.
+The Concurrency limit feature allows you to define concurrency limits for scripts and inline scripts within flows.
-## Perpetual Scripts
+### Worker group tag
+
+Scripts can be assigned custom [worker groups](../core_concepts/9_worker_groups/index.mdx) for efficient execution on different machines with varying specifications.
+
+For scripts saved on the script editor, select the corresponding worker group tag in the [settings](../script_editor/settings.mdx) section.
+
+![Worker group tag](../core_concepts/9_worker_groups/select_script_builder.png.webp)
+
+
+
+
+
+### Cache
+
+Caching a script step means caching the results for a certain duration. If the script is triggered with the same inputs during the given duration, it will return the cached result.
+
+### Timeout
+
+Add a custom timeout for this script, for a given duration.
+
+If enabled to execution will be stopped after the timeout.
+
+### Perpetual Scripts
Perpetual scripts restart upon ending unless canceled.
@@ -93,14 +141,102 @@ Perpetual scripts restart upon ending unless canceled.
-## Worker group tag
+### Dedicated workers
+
+In this mode, the script is meant to be run on [dedicated workers](../core_concepts/9_worker_groups/index.mdx) that run the script at native speed. Can reach >1500rps per dedicated worker. Only available on enterprise edition and for Python3, Deno and Bun. For other languages, the efficiency is already on par with deidcated workers since they do not spawn a full runtime.
-Worker group tagIf you want to run some scripts on a GPU machine.
+### Delete after use
+
+Delete [logs](../core_concepts/14_audit_logs/index.mdx), arguments and results after use.
+
+:::warning
+
+This settings ONLY applies to [synchronous webhooks](../core_concepts/4_webhooks/index.mdx#synchronous) or when the script is used within a [flow](../flows/1_flow_editor.mdx). If used individually, this script must be triggered using a synchronous endpoint to have the desired effect.
+
+The logs, arguments and results of the job will be completely deleted from Windmill once it is complete and the result has been returned.
+
+The deletion is irreversible.
+
+:::
+
+### Runs visibility
+
+When this option is enabled, manual [executions](../core_concepts/5_monitor_past_and_future_runs/index.mdx) of this script are invisible to users other than the user running it, including the [owner(s)](../core_concepts/16_roles_and_permissions/index.mdx). This setting can be overridden when this script is run manually from the advanced menu (available when the script is [deployed](../core_concepts/0_draft_and_deploy/index.mdx)).
+
+## Generated UI
+
+main function's arguments can be given advanced settings that will affect the inputs' [auto-generated UI](../core_concepts/6_auto_generated_uis/index.mdx) and [JSON Schema](../core_concepts/13_json_schema_and_parsing/index.mdx).
+
+Here is an example on how to define a [Python](../getting_started/0_scripts_quickstart/2_python_quickstart/index.mdx) list as an enum of strings using the `Generated UI` menu.
+
+
+
+
+
+
+## Triggers
+
+Triggers allow you to automate the execution of your scripts based on various events or conditions.
+
+![Script triggers](../../static/images/script_triggers.png "Script triggers")
+
+### Webhooks
+
+Each Script and Flow created in Windmill gets autogenerated webhooks. The webhooks depend on how they are triggered, and what their return values are.
+
+
+
+
+### Schedules
+
+Schedules let you run your script at specified intervals or times, perfect for recurring tasks or periodic data updates.
+
+
+
+
+
+### Routes
+
+Windmill supports custom HTTP routes to trigger a script or flow.
+
+
+
+
+
+### Email
+
+Scripts and flows can be triggered by email messages sent to a specific email address, leveraging SMTP.
+
+
+
+
+
diff --git a/docs/script_editor/worker_group_tag.mdx b/docs/script_editor/worker_group_tag.mdx
deleted file mode 100644
index 4396b351f..000000000
--- a/docs/script_editor/worker_group_tag.mdx
+++ /dev/null
@@ -1,17 +0,0 @@
-import DocCard from '@site/src/components/DocCard';
-
-# Worker group tag
-
-Scripts can be assigned custom [worker groups](../core_concepts/9_worker_groups/index.mdx) for efficient execution on different machines with varying specifications.
-
-For scripts saved on the script editor, select the corresponding worker group tag in the [settings](../script_editor/settings.mdx) section.
-
-![Worker group tag](../core_concepts/9_worker_groups/select_script_builder.png.webp)
-
-
-
-
diff --git a/sidebars.js b/sidebars.js
index 617093fe7..84427067c 100644
--- a/sidebars.js
+++ b/sidebars.js
@@ -540,7 +540,6 @@ const sidebars = {
'script_editor/settings',
'script_editor/script_kinds',
'script_editor/customize_ui',
- 'script_editor/worker_group_tag',
'script_editor/concurrency_limit',
'script_editor/perpetual_scripts',
'script_editor/custom_environment_variables',
@@ -854,11 +853,11 @@ const sidebars = {
'core_concepts/codebases_and_bundles/index',
'apps/css_editor',
'core_concepts/multiplayer/index',
+ 'misc/react_sdk/index',
+ 'misc/windows_workers/index',
'core_concepts/private_hub/index',
'misc/white_labelling/index',
- 'misc/react_sdk/index',
- 'misc/partners/index',
- 'misc/windows_workers/index'
+ 'misc/partners/index'
]
}
]
diff --git a/src/components/Pricing.js b/src/components/Pricing.js
index 7b7222320..669ff825b 100644
--- a/src/components/Pricing.js
+++ b/src/components/Pricing.js
@@ -684,6 +684,17 @@ const sections = [
'tier-team': false
},
link: '/docs/misc/s3_cache'
+ },
+ {
+ name: 'Windows workers',
+ tiers: {
+ 'tier-free-selfhost': false,
+ 'tier-enterprise-selfhost': true,
+ 'tier-enterprise-cloud': false,
+ 'tier-free': false,
+ 'tier-team': false
+ },
+ link: '/docs/misc/windows_workers'
}
]
},
diff --git a/static/images/script_languages.png b/static/images/script_languages.png
index 665c1cd04..c36f08253 100644
Binary files a/static/images/script_languages.png and b/static/images/script_languages.png differ
diff --git a/static/images/script_languages.png.webp b/static/images/script_languages.png.webp
deleted file mode 100644
index d54967649..000000000
Binary files a/static/images/script_languages.png.webp and /dev/null differ
diff --git a/static/images/script_runtime.png b/static/images/script_runtime.png
new file mode 100644
index 000000000..69e26bf97
Binary files /dev/null and b/static/images/script_runtime.png differ
diff --git a/static/images/script_triggers.png b/static/images/script_triggers.png
new file mode 100644
index 000000000..e358821af
Binary files /dev/null and b/static/images/script_triggers.png differ