From 7d2b9f9e16a932a4709cb384e80f6a3ab915d674 Mon Sep 17 00:00:00 2001 From: shaurya <19599684+no-hup@users.noreply.github.com> Date: Tue, 4 Aug 2026 14:39:24 +0530 Subject: [PATCH] docs: close two unterminated code fences and fix --trust flag name The YAML example under `requires` in schema.md was never closed, so the following `vars` heading and its description were rendered inside the code block. The example at the end of config.md was also left open. The remote Taskfiles page referred to a `--trust` flag; the registered flag is `--trusted-hosts`, which the same page already uses further down. --- website/src/docs/experiments/remote-taskfiles.md | 3 ++- website/src/docs/reference/config.md | 1 + website/src/docs/reference/schema.md | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/website/src/docs/experiments/remote-taskfiles.md b/website/src/docs/experiments/remote-taskfiles.md index 9eeb192df7..9c031e1d05 100644 --- a/website/src/docs/experiments/remote-taskfiles.md +++ b/website/src/docs/experiments/remote-taskfiles.md @@ -229,7 +229,8 @@ remote Taskfiles: Sometimes you need to run Task in an environment that does not have an interactive terminal, so you are not able to accept a prompt. In these cases you are able to tell task to accept these prompts automatically by using the `--yes` -flag or the `--trust` flag. The `--trust` flag allows you to specify trusted +flag or the `--trusted-hosts` flag. The `--trusted-hosts` flag allows you to +specify trusted hosts for remote Taskfiles, while `--yes` applies to all prompts in Task. You can also configure trusted hosts in your [taskrc configuration](#trusted-hosts) using `remote.trusted-hosts`. Before enabling automatic trust, you should: diff --git a/website/src/docs/reference/config.md b/website/src/docs/reference/config.md index 7222b71375..cf58ae8f52 100644 --- a/website/src/docs/reference/config.md +++ b/website/src/docs/reference/config.md @@ -194,3 +194,4 @@ temp-dir: .task # Enable experimental features experiments: REMOTE_TASKFILES: 1 +``` diff --git a/website/src/docs/reference/schema.md b/website/src/docs/reference/schema.md index 4358ef0be3..40d8205caa 100644 --- a/website/src/docs/reference/schema.md +++ b/website/src/docs/reference/schema.md @@ -735,6 +735,7 @@ tasks: ref: .ALLOWED_ENVS cmds: - ./deploy.sh +``` #### [`vars`](#variable)