From 945e3060f41599f6c140059e81a758dfac130d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 25 Aug 2022 12:31:37 +0200 Subject: [PATCH] Website: document location of custom job type scripts --- web/project-website/content/usage/job-types/_index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/project-website/content/usage/job-types/_index.md b/web/project-website/content/usage/job-types/_index.md index 65b7e0cc..52eea156 100644 --- a/web/project-website/content/usage/job-types/_index.md +++ b/web/project-website/content/usage/job-types/_index.md @@ -9,6 +9,14 @@ Flamenco uses JavaScript files called *job compiler scripts* or two things. They - convert a job of this type (like "*render this Blend file*") into concrete tasks that can be executed by workers. +The default scripts are built into the Flamenco Manager executable. You can add +custom scripts simply by creating a directory called `scripts` next to the +`flamenco-manager` executable and putting your custom scripts there. If a script +is named the same as a [built-in script][built-in-scripts] it will override the +built-in one. In any case, name the file something like `scripts/my_job_type.js` +and it should work. + + ## Example These scripts are written in JavaScript. Before describing how they work, here