Skip to content

Commit a8d0bfd

Browse files
committed
Fix remaining broken links
1 parent a4d6b1e commit a8d0bfd

File tree

8 files changed

+15
-11
lines changed

8 files changed

+15
-11
lines changed

packages/docs/scripts/generate-plugin-docs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ for await (const dir of directories) {
9999
...parseFragment('Depending on local configuration, plugins may modify the defaults as shown.'),
100100
...parseFragment('Custom `config` or `entry` options override default values, they are not merged.'),
101101
...parseFragment(
102-
'See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.'
102+
'See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.'
103103
),
104104
]
105105
: [];
@@ -126,7 +126,7 @@ for await (const dir of directories) {
126126
.join('\n')}\n\`\`\``
127127
),
128128
...parseFragment(
129-
'The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).'
129+
'The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).'
130130
),
131131
]
132132
: [];

packages/docs/src/content/docs/guides/configuring-project-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,6 @@ automatically added as well.
200200

201201
[1]: ../typescript/unused-exports.md
202202
[2]: ../explanations/entry-files.md
203-
[3]: ../reference/configuration#ignoreexportsusedinfile
203+
[3]: ../reference/configuration.md#ignoreexportsusedinfile
204204
[4]: ../features/production-mode.md
205205
[5]: ../explanations/plugins.md#entry-files

packages/docs/src/content/docs/guides/handling-issues.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ To exclude false positives from the report, there are a few options:
586586
- [Ignore exports used in file][47] for exports used internally.
587587
- Individual exports can be [tagged using JSDoc syntax][48].
588588
- Have the export in an entry file:
589-
589+
590590
- Add the file to the `entry` file patterns array in the configuration.
591591
- Move the export(s) to an entry file.
592592
- Add the file to the `exports` field of `package.json`

packages/docs/src/content/docs/guides/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ to [open an issue on GitHub][14].
121121
[2]: #exceptions-thrown-by-knip
122122
[3]: #debug
123123
[4]: #trace
124-
[5]: ../guides/handling-issues.md
124+
[5]: ../guides/handling-issues.mdx
125125
[6]: ./issue-reproduction.md
126126
[7]: ../reference/known-issues.md
127127
[8]: ../reference/cli.md#--workspace-dir

packages/docs/src/content/docs/overview/features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Also see [related tooling][2].
4444
[4]: ../reference/cli.md#--cache
4545
[5]: ../guides/working-with-commonjs.md
4646
[6]: ../features/compilers.md
47-
[7]: ../guides/troubleshooting.md#issues-reported-by-knip
47+
[7]: ../guides/troubleshooting.md#debug
4848
[8]: ../features/rules-and-filters.md#filters
4949
[9]: ../features/auto-fix.mdx#format
5050
[10]: ../reference/jsdoc-tsdoc-tags.md
@@ -63,4 +63,4 @@ Also see [related tooling][2].
6363
[23]: ../features/production-mode.md#strict-mode
6464
[24]: ../guides/troubleshooting.md#trace
6565
[25]: ../reference/cli.md#--watch
66-
[26]: ../features/monorepos-and-workspaces#lint-a-single-workspace
66+
[26]: ../features/monorepos-and-workspaces.md#lint-a-single-workspace

packages/docs/src/content/docs/reference/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ require more development efforts and maintenance. Time is limited and
427427
[5]: ../explanations/why-use-knip.md#comprehensive
428428
[6]: #module-resolution
429429
[7]: ../features/script-parser.md
430-
[8]: ../guides/handling-issues.mdx#types-packages
430+
[8]: ../guides/handling-issues.mdx#type-definition-packages
431431
[9]: https://oxc.rs/docs/guide/usage/resolver.html
432432
[10]: ../guides/performance.md#workspace-sharing
433433
[11]: #whats-the-difference-between-workspaces-projects-and-programs

packages/docs/src/content/docs/reference/plugins.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Plugins (123)
2+
title: Plugins (127)
33
tableOfContents: false
44
---
55

@@ -42,6 +42,7 @@ tableOfContents: false
4242
- [i18next Parser](/reference/plugins/i18next-parser "i18next Parser")
4343
- [Jest](/reference/plugins/jest "Jest")
4444
- [Karma](/reference/plugins/karma "Karma")
45+
- [Knex](/reference/plugins/knex "Knex")
4546
- [Ladle](/reference/plugins/ladle "Ladle")
4647
- [Lefthook](/reference/plugins/lefthook "Lefthook")
4748
- [lint-staged](/reference/plugins/lint-staged "lint-staged")
@@ -70,6 +71,7 @@ tableOfContents: false
7071
- [nyc](/reference/plugins/nyc "nyc")
7172
- [oclif](/reference/plugins/oclif "oclif")
7273
- [Oxlint](/reference/plugins/oxlint "Oxlint")
74+
- [Parcel](/reference/plugins/parcel "Parcel")
7375
- [Playwright](/reference/plugins/playwright "Playwright")
7476
- [Playwright for components](/reference/plugins/playwright-ct "Playwright for components")
7577
- [playwright-test](/reference/plugins/playwright-test "playwright-test")
@@ -105,6 +107,7 @@ tableOfContents: false
105107
- [SWC](/reference/plugins/swc "SWC")
106108
- [Syncpack](/reference/plugins/syncpack "Syncpack")
107109
- [Tailwind](/reference/plugins/tailwind "Tailwind")
110+
- [TanStack Router](/reference/plugins/tanstack-router "TanStack Router")
108111
- [Taskfile](/reference/plugins/taskfile "Taskfile")
109112
- [Travis CI](/reference/plugins/travis "Travis CI")
110113
- [ts-node](/reference/plugins/ts-node "ts-node")
@@ -118,6 +121,7 @@ tableOfContents: false
118121
- [Vercel OG](/reference/plugins/vercel-og "Vercel OG")
119122
- [Vike](/reference/plugins/vike "Vike")
120123
- [Vite](/reference/plugins/vite "Vite")
124+
- [VitePress](/reference/plugins/vitepress "VitePress")
121125
- [Vitest](/reference/plugins/vitest "Vitest")
122126
- [Vue](/reference/plugins/vue "Vue")
123127
- [WebdriverIO](/reference/plugins/webdriver-io "WebdriverIO")

packages/docs/src/content/docs/writing-a-plugin/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,6 @@ plugin, this might be the right time to open a pull request!
374374
[3]: ../explanations/plugins.md#entry-files-from-config-files
375375
[4]:
376376
https://github.com/webpro-nl/knip/blob/6a6954386b33ee8a2919005230a4bc094e11bc03/knip.json#L12
377-
[5]: ./writing-a-plugin/inputs.md
377+
[5]: ./inputs.md
378378
[6]: ../features/script-parser.md
379-
[7]: ./writing-a-plugin/argument-parsing.md
379+
[7]: ./argument-parsing.md

0 commit comments

Comments
 (0)