Skip to content

Commit 9f4a2e9

Browse files
janiceilenephated
authored andcommitted
Fix: Temporary workaround for facebook/docusaurus#257
1 parent a43caf2 commit 9f4a2e9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/getting-started/3-creating-tasks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar_label: Creating Tasks
77

88
# Creating Tasks
99

10-
Each gulp task is an asynchronous JavaScript function - a function that accepts an error-first callback or returns a stream, promise, event emitter, child process, or observable ([more on that later][async-completion-docs]). Due to some platform limitations, synchronous tasks aren't supported, though there is a pretty nifty [alternative][using-async-await-docs].
10+
Each gulp task is an asynchronous JavaScript function - a function that accepts an error-first callback or returns a stream, promise, event emitter, child process, or observable ([more on that later](4-async-completion.md)). Due to some platform limitations, synchronous tasks aren't supported, though there is a pretty nifty [alternative](4-async-completion.md#using-asyncawait).
1111

1212
## Exporting
1313

docs/getting-started/5-working-with-files.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ sidebar_label: Working with Files
99

1010
The `src()` and `dest()` methods are exposed by gulp to interact with files on your computer.
1111

12-
`src()` is given a [glob][explaining-globs-docs] to read from the file system and produces a [Node stream][node-streams-docs]. It locates all matching files and reads them into memory to pass through the stream.
12+
`src()` is given a [glob](6-explaining-globs.md) to read from the file system and produces a [Node stream][node-streams-docs]. It locates all matching files and reads them into memory to pass through the stream.
1313

14-
The stream produced by `src()` should be returned from a task to signal async completion, as mentioned in [Creating Tasks][creating-tasks-docs].
14+
The stream produced by `src()` should be returned from a task to signal async completion, as mentioned in [Creating Tasks](3-creating-tasks.md).
1515

1616
```js
1717
const { src, dest } = require('gulp');
@@ -41,7 +41,7 @@ Most often plugins will be placed between `src()` and `dest()` using the `.pipe(
4141

4242
## Adding files to the stream
4343

44-
`src()` can also be placed in the middle of a pipeline to add files to the stream based on the given globs. The additional files will only be available to transformations later in the stream. If [globs overlap][overlapping-globs-docs], the files will be added again.
44+
`src()` can also be placed in the middle of a pipeline to add files to the stream based on the given globs. The additional files will only be available to transformations later in the stream. If [globs overlap](6-explaining-globs.md#overlapping-globs), the files will be added again.
4545

4646
This can be useful for transpiling some files before adding plain JavaScript files to the pipeline and uglifying everything.
4747

docs/getting-started/8-watching-files.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar_label: Watching Files
77

88
# Watching Files
99

10-
The `watch()` API connects [globs][globs-docs] to [tasks][creating-tasks-docs] using a file system watcher. It watches for changes to files that match the globs and executes the task when a change occurs. If the task doesn't signal [Async Completion][async-completion-doc], it will never be run a second time.
10+
The `watch()` API connects [globs](6-explaining-globs.md) to [tasks](3-creating-tasks.md) using a file system watcher. It watches for changes to files that match the globs and executes the task when a change occurs. If the task doesn't signal [Async Completion](4-async-completion.md), it will never be run a second time.
1111

1212
This API provides built-in delay and queueing based on most-common-use defaults.
1313

0 commit comments

Comments
 (0)