From bad2c8fcc19e7cd6f722bf63b13130e43e5fa7a9 Mon Sep 17 00:00:00 2001
From: jonathanagustin <5193877+jonathanagustin@users.noreply.github.com>
Date: Sat, 18 Jan 2025 08:04:39 -0500
Subject: [PATCH] docs: fix some examples to use spaces instead of tabs (#2002)
---
website/docs/usage.mdx | 82 +++++++++++++++++++++---------------------
1 file changed, 41 insertions(+), 41 deletions(-)
diff --git a/website/docs/usage.mdx b/website/docs/usage.mdx
index d082b446..aab62912 100644
--- a/website/docs/usage.mdx
+++ b/website/docs/usage.mdx
@@ -341,43 +341,43 @@ It means that the included Taskfile tasks will be available without the namespac
+ values={[
+ {label: 'Taskfile.yml', value: '1'},
+ {label: 'Included.yml', value: '2'}
+ ]}>
-
+
- ```yaml
- version: '3'
+ ```yaml
+ version: '3'
- includes:
- lib:
- taskfile: ./Included.yml
- flatten: true
+ includes:
+ lib:
+ taskfile: ./Included.yml
+ flatten: true
- tasks:
- greet:
- cmds:
- - echo "Greet"
- - task: foo
- ```
+ tasks:
+ greet:
+ cmds:
+ - echo "Greet"
+ - task: foo
+ ```
-
-
+
+
- ```yaml
- version: '3'
+ ```yaml
+ version: '3'
- tasks:
- foo:
- cmds:
- - echo "Foo"
- ```
+ tasks:
+ foo:
+ cmds:
+ - echo "Foo"
+ ```
-
+
If you run `task -a` it will print :
@@ -400,12 +400,12 @@ Foo
If multiple tasks have the same name, an error will be thrown:
+ values={[
+ {label: 'Taskfile.yml', value: '1'},
+ {label: 'Included.yml', value: '2'}
+ ]}>
-
+
```yaml
version: '3'
@@ -419,23 +419,23 @@ If multiple tasks have the same name, an error will be thrown:
cmds:
- echo "Greet"
- task: foo
- ```
+ ```
-
-
+
+
- ```yaml
- version: '3'
+ ```yaml
+ version: '3'
- tasks:
+ tasks:
greet:
cmds:
- - echo "Foo"
- ```
+ - echo "Foo"
+ ```
-
+
If you run `task -a` it will print:
```text