Skip to content

Commit 40d89f9

Browse files
committed
docs(api) Fix markdown lint errors
1 parent 3197738 commit 40d89f9

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

src/content/api/compiler-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ contributors:
77
---
88

99
The `Compiler` module is the main engine that creates a compilation instance
10-
with all the options passed through the [CLI]() or [Node API](). It extends the
10+
with all the options passed through the [CLI](/api/cli) or [Node API](/api/node). It extends the
1111
`Tapable` class in order to register and call plugins. Most user facing plugins
1212
are first registered on the `Compiler`.
1313

src/content/api/node.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,9 @@ like [parallel-webpack](https://www.npmjs.com/package/parallel-webpack).
282282

283283
For a good error handling, you need to account for these three types of errors:
284284

285-
* Fatal webpack errors (wrong configuration, etc)
286-
* Compilation errors (missing modules, syntax errors, etc)
287-
* Compilation warnings
285+
- Fatal webpack errors (wrong configuration, etc)
286+
- Compilation errors (missing modules, syntax errors, etc)
287+
- Compilation warnings
288288

289289
Here’s an example that does all that:
290290

src/content/api/parser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ being processed by webpack. The `parser` is yet another webpack class that
99
extends `tapable` and provides a variety of `tapable` hooks that can be used by
1010
plugin authors to customize the parsing process.
1111

12-
The `parser` is found within [module factories]() and therefore takes little
12+
The `parser` is found within [module factories](/api/module-factories/) and therefore takes little
1313
more work to access:
1414

1515
``` js

src/content/api/plugins.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ contributors:
1010

1111
Plugins are a key piece of the webpack ecosystem and provide the community with
1212
a powerful way to tap into webpack's compilation process. A plugin is able to
13-
[hook]() into key events that are fired throughout each compilation. Every step
13+
[hook](/api/compiler/#event-hooks) into key events that are fired throughout each compilation. Every step
1414
of the way, the plugin will have full access to the `compiler` and, when
1515
applicable, the current `compilation`.
1616

@@ -41,7 +41,7 @@ noted.
4141
Depending on the hooks used and `tap` methods applied, plugins can function in
4242
a number of different ways. The way this works is closely related to the
4343
[hooks](https://github.com/webpack/tapable#tapable) provided by `Tapable`. The
44-
[compiler hooks]() each note the underlying `Tapable` hook indicating which
44+
[compiler hooks](/api/compiler/#event-hooks) each note the underlying `Tapable` hook indicating which
4545
`tap` methods are available.
4646

4747
So depending which event you `tap` into, the plugin may run differently. For
@@ -90,11 +90,11 @@ compiler.hooks.myCustomHook = new SyncHook(['a', 'b', 'c'])
9090
compiler.hooks.myCustomHook.call(a, b, c);
9191
```
9292

93-
Again, see the [documentation]() for `tapable` to learn more about the
93+
Again, see the [documentation](/api/tapable/) for `tapable` to learn more about the
9494
different hook classes and how they work.
9595

9696

9797
## Next Steps
9898

99-
See the [compiler hooks]() section for a detailed listing of all the available
99+
See the [compiler hooks](/api/compiler/#event-hooks) section for a detailed listing of all the available
100100
`compiler` hooks and the parameters they make available.

src/content/api/resolvers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ sort: 3
77
Resolvers are created using the `enhanced-resolve` package. The `Resolver`
88
class extends the `tapable` class and uses `tapable` to provide a few hooks.
99
The `enhanced-resolve` package can be used directly to create new resolvers,
10-
however any [`compiler` instance]() has a few resolver instances that can be
10+
however any [`compiler` instance](/api/compiler/) has a few resolver instances that can be
1111
tapped into.
1212

1313
Before reading on, make sure you at least skim through the
14-
[`enhanced-resolve`]() and [`tapable`]() documentation.
14+
[`enhanced-resolve`](https://github.com/webpack/enhanced-resolve) and [`tapable`](/api/tapable/) documentation.
1515

1616

1717
## Types
@@ -39,14 +39,14 @@ Where `[type]` is one of the three resolvers mention above, specified as:
3939
- `context`
4040
- `loader`
4141

42-
See the `enhanced-resolve` [documentation]() for a full list of hooks and
42+
See the `enhanced-resolve` [documentation](https://github.com/webpack/enhanced-resolve) for a full list of hooks and
4343
descriptions.
4444

4545

4646
## Configuration Options
4747

4848
The resolvers mentioned above can also be customized via a configuration file
49-
with the [`resolve`]() or [`resolveLoader`]() options. These options allow
49+
with the [`resolve`](/configuration/resolve/) or [`resolveLoader`](/configuration/resolve/#resolveloader) options. These options allow
5050
users to change the resolving behavior through a variety of options including
5151
through resolve `plugins`.
5252

0 commit comments

Comments
 (0)