Skip to content

Commit e338c07

Browse files
committed
docs: Fix broken links
1 parent bfd18b0 commit e338c07

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

docs/concepts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const pipeline = [
3131
const iterable = pullLine(pipeline, source);
3232
```
3333

34-
Read more about [pull](pull/overview).
34+
Read more about [pull](docs/pull/overview).
3535

3636
### Push
3737

@@ -53,4 +53,4 @@ const observer = pushLine(pipeline, target);
5353

5454
Of course, you can process synchronous items with `Push Lines` too, but `Pull Lines` are easier to operate and write operations for.
5555

56-
Read more about [push](push/overview).
56+
Read more about [push](docs/push/overview).

docs/introduction.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ console.log(result); // [8, 10, 14]
3535

3636
There are 3 main packages:
3737

38-
- [@undercut/pull](pull/overview) -- Pull Lines (Iterables).
39-
- [@undercut/push](push/overview) -- Push Lines (Observers).
40-
- [@undercut/utils](utils/overview) -- Various JavaScript language utilities.
38+
- [@undercut/pull](docs/pull/overview) -- Pull Lines (Iterables).
39+
- [@undercut/push](docs/push/overview) -- Push Lines (Observers).
40+
- [@undercut/utils](docs/utils/overview) -- Various JavaScript language utilities.
4141

4242
These packages are the intended way to use `Undercut` and carry `stable ES Next` code in the `ESM` format. It is very convenient for apps using Webpack/Babel/etc, and helps to avoid double compilation and deoptimization. Only [finished proposals (Stage 4)](https://github.com/tc39/proposals/blob/master/finished-proposals.md) may be used in their codebase. The code itself is universal and may be used in Node/Browser/Microwave. Your environment may require `core-js@3` or similar polyfill to use them raw.
4343

@@ -53,11 +53,11 @@ yarn add @undercut/pull
5353

5454
### Additional packages
5555

56-
Several [precompiled packages](precompiled) are available too:
56+
Several [precompiled packages](docs/packages) are available too:
5757

58-
- [@undercut/cli](cli/overview) -- A command line interface for processing data with JavaScript and `Undercut` in a shell. Accepts string items from `stdin` and puts results as strings into `stdout`. Works on Node.js 10.13 and upwards.
59-
- [@undercut/node-10](packages#undercutnode-10) -- A precompiled CommonJS version for Node.js 10.13 and upwards. Requires stable polyfills from `core-js@3`.
60-
- [@undercut/web-2019](packages#undercutweb-2019) -- A precompiled version for web browsers not older than `2019-01-01`. Creates `undercut` variable in the global scope, may also be used by CJS/AMD loaders. Requires stable polyfills from `core-js@3`.
58+
- [@undercut/cli](docs/cli/overview) -- A command line interface for processing data with JavaScript and `Undercut` in a shell. Accepts string items from `stdin` and puts results as strings into `stdout`. Works on Node.js 10.13 and upwards.
59+
- [@undercut/node-10](docs/packages#undercutnode-10) -- A precompiled CommonJS version for Node.js 10.13 and upwards. Requires stable polyfills from `core-js@3`.
60+
- [@undercut/web-2019](docs/packages#undercutweb-2019) -- A precompiled version for web browsers not older than `2019-01-01`. Creates `undercut` variable in the global scope, may also be used by CJS/AMD loaders. Requires stable polyfills from `core-js@3`.
6161

6262
### Updating
6363

docs/packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Hello world!
1212
A very long string...
1313
```
1414

15-
[Full documentation.](cli/overview)
15+
[Full documentation.](docs/cli/overview)
1616

1717
### `@undercut/node-10`
1818

docs/push/tutorials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ console.log(result); // [1, 4, 9]
4545
10. You will get here in case of both cancellation and `end-of-sequence` signal.
4646
11. It is a good place to clean up your resources. You must also signal remaining observers in the chain by calling `observer.return()`.
4747

48-
In case more advanced operations like grouping, where you need to look at all available items first before you can proceed, you can do this in `finally`. Make yourself a flag to skip computation in case of catching a cancellation, and pass items before closing the observer ([see the groupBy operation](packages/undercut-push/src/operations/group_by.js)).
48+
In case more advanced operations like grouping, where you need to look at all available items first before you can proceed, you can do this in `finally`. Make yourself a flag to skip computation in case of catching a cancellation, and pass items before closing the observer ([see the groupBy operation](https://github.com/the-spyke/undercut/tree/master/packages/undercut-push/src/operations/group_by.js)).

0 commit comments

Comments
 (0)