Skip to content

Commit 4e84c6b

Browse files
committed
fix: links to static files
1 parent 0f9baf6 commit 4e84c6b

File tree

4 files changed

+34
-35
lines changed

4 files changed

+34
-35
lines changed

.vscode/settings-sample.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
{
22
"yaml.schemas": {
3-
"./website/static/schema.json": [
4-
"Taskfile.yml",
5-
"tmp/**/*.yml"
3+
"./website/src/public/schema.json": [
4+
"Taskfile.yml",
5+
"Taskfile.yaml",
6+
"taskfile.yml",
7+
"taskfile.yaml"
68
]
79
},
8-
"search.exclude": {
9-
"**/versioned_docs": true,
10-
"**/versioned_sidesbars": true,
11-
"**/i18n": true
12-
},
1310
"gopls": {
1411
"formatting.local": "github.com/go-task"
1512
},

website/src/docs/contributing.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ Studio Code][vscode-task].
3030
you invest your time into a PR.
3131
- **Experiments** - If there is no way to make your change backward compatible
3232
then there is a procedure to introduce breaking changes into minor versions.
33-
We call these "[experiments](./experiments/index.md)". If you're intending to work on
34-
an experiment, then please read the
35-
[experiments workflow](./experiments/index.md#workflow) document carefully and submit a
36-
proposal first.
33+
We call these "[experiments](./experiments/index.md)". If you're intending to
34+
work on an experiment, then please read the
35+
[experiments workflow](./experiments/index.md#workflow) document carefully and
36+
submit a proposal first.
3737

3838
## 1. Setup
3939

@@ -85,12 +85,12 @@ by using `task website` (requires `nodejs` & `pnpm`). All content is written in
8585
Markdown and is located in the `website/src` directory. All Markdown documents
8686
should have an 80 character line wrap limit (enforced by Prettier).
8787

88-
When making a change, consider whether a change to the [Usage Guide](/docs/guide) is
89-
necessary. This document contains descriptions and examples of how to use Task
90-
features. If you're adding a new feature, try to find an appropriate place to
91-
add a new section. If you're updating an existing feature, ensure that the
92-
documentation and any examples are up-to-date. Ensure that any examples follow
93-
the [Taskfile Styleguide](./styleguide.md).
88+
When making a change, consider whether a change to the
89+
[Usage Guide](/docs/guide) is necessary. This document contains descriptions and
90+
examples of how to use Task features. If you're adding a new feature, try to
91+
find an appropriate place to add a new section. If you're updating an existing
92+
feature, ensure that the documentation and any examples are up-to-date. Ensure
93+
that any examples follow the [Taskfile Styleguide](./styleguide.md).
9494

9595
If you added a new command or flag, ensure that you add it to the
9696
[CLI Reference](./reference/cli.md). New fields also need to be added to the
@@ -168,7 +168,7 @@ If you have questions, feel free to ask them in the `#help` forum channel on our
168168
[pnpm]: https://pnpm.io/
169169
[vitepress]: https://vitepress.dev
170170
[json-schema]:
171-
https://github.com/go-task/task/blob/main/website/static/schema.json
171+
https://github.com/go-task/task/blob/main/website/src/public/schema.json
172172
[task-open-issues]: https://github.com/go-task/task/issues
173173
[vscode-task-open-issues]: https://github.com/go-task/vscode-task/issues
174174
[good-first-issue]:

website/src/docs/experiments/remote-taskfiles.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ of node which you can use:
3939
::: code-group
4040

4141
```text [HTTP/HTTPS]
42-
https://raw.githubusercontent.com/go-task/task/main/website/static/Taskfile.yml
42+
https://raw.githubusercontent.com/go-task/task/main/website/src/public/Taskfile.yml
4343
```
4444

4545
```text [Git over HTTP]
46-
https://github.com/go-task/task.git//website/static/Taskfile.yml?ref=main
46+
https://github.com/go-task/task.git//website/src/public/Taskfile.yml?ref=main
4747
```
4848

4949
```text [Git over SSH]
50-
[email protected]/go-task/task.git//website/static/Taskfile.yml?ref=main
50+
[email protected]/go-task/task.git//website/src/public/Taskfile.yml?ref=main
5151
```
5252

5353
:::
@@ -56,7 +56,7 @@ [email protected]/go-task/task.git//website/static/Taskfile.yml?ref=main
5656

5757
### HTTP/HTTPS
5858

59-
`https://raw.githubusercontent.com/go-task/task/main/website/static/Taskfile.yml`
59+
`https://raw.githubusercontent.com/go-task/task/main/website/src/public/Taskfile.yml`
6060

6161
This is the most basic type of remote node and works by downloading the file
6262
from the specified URL. The file must be a valid Taskfile and can be of any
@@ -66,7 +66,7 @@ find a valid Taskfile, an error is returned.
6666

6767
### Git over HTTP
6868

69-
`https://github.com/go-task/task.git//website/static/Taskfile.yml?ref=main`
69+
`https://github.com/go-task/task.git//website/src/public/Taskfile.yml?ref=main`
7070

7171
This type of node works by downloading the file from a Git repository over
7272
HTTP/HTTPS. The first part of the URL is the base URL of the Git repository.
@@ -80,7 +80,7 @@ This is the same URL that you would use to clone the repo over HTTP.
8080

8181
### Git over SSH
8282

83-
`[email protected]/go-task/task.git//website/static/Taskfile.yml?ref=main`
83+
`[email protected]/go-task/task.git//website/src/public/Taskfile.yml?ref=main`
8484

8585
This type of node works by downloading the file from a Git repository over SSH.
8686
The first part of the URL is the user and base URL of the Git repository. This
@@ -121,19 +121,19 @@ file. For example:
121121
::: code-group
122122

123123
```shell [HTTP/HTTPS]
124-
$ task --taskfile https://raw.githubusercontent.com/go-task/task/main/website/static/Taskfile.yml
124+
$ task --taskfile https://raw.githubusercontent.com/go-task/task/main/website/src/public/Taskfile.yml
125125
task: [hello] echo "Hello Task!"
126126
Hello Task!
127127
```
128128

129129
```shell [Git over HTTP]
130-
$ task --taskfile https://github.com/go-task/task.git//website/static/Taskfile.yml?ref=main
130+
$ task --taskfile https://github.com/go-task/task.git//website/src/public/Taskfile.yml?ref=main
131131
task: [hello] echo "Hello Task!"
132132
Hello Task!
133133
```
134134

135135
```shell [Git over SSH]
136-
$ task --taskfile [email protected]/go-task/task.git//website/static/Taskfile.yml?ref=main
136+
$ task --taskfile [email protected]/go-task/task.git//website/src/public/Taskfile.yml?ref=main
137137
task: [hello] echo "Hello Task!"
138138
Hello Task!
139139
```
@@ -152,21 +152,21 @@ the remote Taskfile will be available to run from your main Taskfile.
152152
version: '3'
153153
154154
includes:
155-
my-remote-namespace: https://raw.githubusercontent.com/go-task/task/main/website/static/Taskfile.yml
155+
my-remote-namespace: https://raw.githubusercontent.com/go-task/task/main/website/src/public/Taskfile.yml
156156
```
157157

158158
```yaml [Git over HTTP]
159159
version: '3'
160160
161161
includes:
162-
my-remote-namespace: https://github.com/go-task/task.git//website/static/Taskfile.yml?ref=main
162+
my-remote-namespace: https://github.com/go-task/task.git//website/src/public/Taskfile.yml?ref=main
163163
```
164164

165165
```yaml [Git over SSH]
166166
version: '3'
167167
168168
includes:
169-
my-remote-namespace: [email protected]/go-task/task.git//website/static/Taskfile.yml?ref=main
169+
my-remote-namespace: [email protected]/go-task/task.git//website/src/public/Taskfile.yml?ref=main
170170
```
171171

172172
:::
@@ -292,7 +292,9 @@ the `--download` flag.
292292
You can use the `--clear-cache` flag to clear all cached remote files.
293293

294294
## Configuration
295-
This experiment adds a new `remote` section to the [configuration file](../reference/config.md).
295+
296+
This experiment adds a new `remote` section to the
297+
[configuration file](../reference/config.md).
296298

297299
- **Type**: `object`
298300
- **Description**: Remote configuration settings for handling remote Taskfiles
@@ -344,10 +346,10 @@ remote:
344346
- **Type**: `string`
345347
- **Default**: 0s (no cache)
346348
- **Pattern**: `^[0-9]+(ns|us|µs|ms|s|m|h)$`
347-
- **Description**: Cache expiry duration for remote Taskfiles (e.g., '1h', '24h')
349+
- **Description**: Cache expiry duration for remote Taskfiles (e.g., '1h',
350+
'24h')
348351

349352
```yaml
350353
remote:
351354
cache-expiry: "6h"
352355
```
353-

website/src/docs/integrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To get autocompletion and validation for your Taskfile, see the
3535
This was initially created by @KROSF in
3636
[this Gist](https://gist.github.com/KROSF/c5435acf590acd632f71bb720f685895) and
3737
is now officially maintained in
38-
[this file](https://github.com/go-task/task/blob/main/website/static/schema.json)
38+
[this file](https://github.com/go-task/task/blob/main/website/src/public/schema.json)
3939
and made available at https://taskfile.dev/schema.json. This schema can be used
4040
to validate Taskfiles and provide autocompletion in many code editors:
4141

0 commit comments

Comments
 (0)