Skip to content

Commit 4550d3d

Browse files
committed
Remove links to discord server
1 parent 67184d4 commit 4550d3d

File tree

7 files changed

+44
-61
lines changed

7 files changed

+44
-61
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
11
blank_issues_enabled: false
2-
contact_links:
3-
- name: 👾 Chat
4-
url: https://discord.gg/r5uXTtbTpc
5-
about: Feel free to join the Discord server

packages/docs/astro.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ export default defineConfig({
3232
},
3333
social: [
3434
{ icon: 'github', label: 'GitHub', href: 'https://github.com/webpro-nl/knip' },
35-
{ icon: 'discord', label: 'Discord', href: 'https://discord.gg/r5uXTtbTpc' },
3635
{ icon: 'blueSky', label: 'Bluesky', href: 'https://bsky.app/profile/webpro.nl' },
3736
{ icon: 'npm', label: 'npm', href: 'https://www.npmjs.com/package/knip' },
3837
],

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ running quickly.
1717
The main goal of Knip is to keep projects clean & tidy. Everything that
1818
contributes to that goal is welcome!
1919

20-
Join the [Discord channel][6] to discuss any feedback or questions you may have.
21-
2220
[1]: https://github.com/webpro-nl/knip
2321
[2]: ./issue-reproduction.md
2422
[3]: https://github.com/webpro-nl/knip/blob/main/.github/CONTRIBUTING.md
2523
[4]: ./writing-a-plugin.md
2624
[5]: https://github.com/webpro-nl/knip/blob/main/.github/DEVELOPMENT.md
27-
[6]: https://discord.gg/r5uXTtbTpc

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -575,8 +575,7 @@ in entry files.
575575

576576
If you believe Knip incorrectly reports something as unused (i.e. there's a
577577
false positive), feel free to create a [minimal reproduction][46] and open an
578-
issue on GitHub. It'll make Knip better for everyone! Join the [Discord
579-
channel][47] to discuss any feedback or questions you may have.
578+
issue on GitHub. It'll make Knip better for everyone!
580579

581580
[1]: #unused-files
582581
[2]: #unused-dependencies
@@ -626,4 +625,3 @@ channel][47] to discuss any feedback or questions you may have.
626625
[44]: ../reference/configuration.md#ignoreexportsusedinfile
627626
[45]: ../reference/jsdoc-tsdoc-tags.md
628627
[46]: ../guides/issue-reproduction
629-
[47]: https://discord.gg/r5uXTtbTpc

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

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -22,33 +22,31 @@ complicated". Knip and documentation are always a work in progress.
2222
If it doesn't come your way at the first try, please understand this also shows
2323
the dynamic and innovative nature of the ecosystem. Often only small changes go
2424
a long way towards success. When a bit of configuration doesn't improve things,
25-
consider [opening an issue][5] and/or [ask away on Discord][6]. With the help of
26-
the community (that's you!) we can improve Knip for everyone and make project
27-
maintenance easier and more fun!
25+
consider [opening an issue][5].
2826

2927
:::
3028

3129
## Lint issues reported by Knip
3230

33-
Knip reports lint issues in your codebase. See [handling issues][7] to deal with
31+
Knip reports lint issues in your codebase. See [handling issues][6] to deal with
3432
the reported issues.
3533

3634
If Knip reports false positives and you're considering filing a GitHub issue,
3735
please do! It'll make Knip better for everyone. Please read [issue
38-
reproduction][8] first.
36+
reproduction][7] first.
3937

4038
Exit code 1 indicates a successful run, but lint issues were found.
4139

4240
## Exceptions thrown by Knip
4341

4442
Knip may throw an exception, resulting in an unsuccessful run.
4543

46-
See [known issues][9] as it may be listed there and a workaround may be
44+
See [known issues][8] as it may be listed there and a workaround may be
4745
available. If it isn't clear what's throwing the exception, try another run with
4846
`--debug` to locate the cause of the issue with more details.
4947

5048
If Knip throws an exception and you're considering filing a GitHub issue, please
51-
do! It'll make Knip better for everyone. Please read [issue reproduction][8]
49+
do! It'll make Knip better for everyone. Please read [issue reproduction][7]
5250
first.
5351

5452
Exit code 2 indicates an exception was thrown by Knip.
@@ -97,33 +95,32 @@ opposite direction and shows where exports are imported.
9795

9896
## Opening an issue
9997

100-
If you want to open an issue, please see [issue reproduction][8].
98+
If you want to open an issue, please see [issue reproduction][7].
10199

102100
## Understanding Knip
103101

104-
Looking to better understand how Knip works? The [entry files][10] and
105-
[plugins][11] explanations cover two core concepts. After this you might want to
106-
check out features like [production mode][12] and [monorepos & workspaces][13].
102+
Looking to better understand how Knip works? The [entry files][9] and
103+
[plugins][10] explanations cover two core concepts. After this you might want to
104+
check out features like [production mode][11] and [monorepos & workspaces][12].
107105

108-
In a more general sense, [Why use Knip?][14] explains what Knip can do for you.
106+
In a more general sense, [Why use Knip?][13] explains what Knip can do for you.
109107

110108
## Asking for help
111109

112110
If you can't find your answer in any of the aforementioned resources, feel free
113-
to [open an issue on GitHub][15] or discuss it in [the Discord channel][6].
111+
to [open an issue on GitHub][14].
114112

115113
[1]: #lint-issues-reported-by-knip
116114
[2]: #exceptions-thrown-by-knip
117115
[3]: #debug
118116
[4]: #trace
119117
[5]: https://github.com/webpro-nl/knip/issues/new/choose
120-
[6]: https://discord.gg/r5uXTtbTpc
121-
[7]: ../guides/handling-issues.md
122-
[8]: ./issue-reproduction.md
123-
[9]: ../reference/known-issues.md
124-
[10]: ../explanations/entry-files.md
125-
[11]: ../explanations/plugins.md
126-
[12]: ../features/production-mode.md
127-
[13]: ../features/monorepos-and-workspaces.md
128-
[14]: ../explanations/why-use-knip.md
129-
[15]: https://github.com/webpro-nl/knip/issues
118+
[6]: ../guides/handling-issues.md
119+
[7]: ./issue-reproduction.md
120+
[8]: ../reference/known-issues.md
121+
[9]: ../explanations/entry-files.md
122+
[10]: ../explanations/plugins.md
123+
[11]: ../features/production-mode.md
124+
[12]: ../features/monorepos-and-workspaces.md
125+
[13]: ../explanations/why-use-knip.md
126+
[14]: https://github.com/webpro-nl/knip/issues

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,7 @@ The documentation website takes care of generating the [plugin list and the
465465
individual plugin pages][2] from the exported plugin values.
466466

467467
Thanks for reading. If you have been following this guide to create a new
468-
plugin, this might be the right time to open a pull request! Feel free to join
469-
[the Knip Discord channel][9] if you have any questions.
468+
plugin, this might be the right time to open a pull request!
470469

471470
[1]: #create-a-new-plugin
472471
[2]: ../reference/plugins.md
@@ -478,4 +477,3 @@ plugin, this might be the right time to open a pull request! Feel free to join
478477
[7]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/types/args.ts
479478
[8]:
480479
https://github.com/search?q=repo%3Awebpro-nl%2Fknip++path%3Apackages%2Fknip%2Fsrc%2Fplugins+%22const+args+%3D%22&type=code
481-
[9]: https://discord.gg/r5uXTtbTpc

packages/knip/README.md

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,28 @@ performance, less maintenance and easier refactorings.
2020
- Website: [knip.dev][6]
2121
- GitHub repo: [webpro-nl/knip][4]
2222
- npm package: [knip][1]
23-
- [Discord][7]
24-
- [Contributing Guide][8]
25-
- [Sponsor Knip!][9]
23+
- [Contributing Guide][7]
24+
- [Sponsor Knip!][8]
2625

2726
## Contributors
2827

29-
Special thanks to [the wonderful people who have contributed to Knip][10]!
28+
Special thanks to [the wonderful people who have contributed to Knip][9]!
3029

3130
## Knip
3231

33-
/'knɪp/ means "(to) cut" and is [pronounced with a hard "K"][11] 🇳🇱
32+
/'knɪp/ means "(to) cut" and is [pronounced with a hard "K"][10] 🇳🇱
3433

3534
## License
3635

37-
Knip is free and open-source software licensed under the [ISC License][12].
36+
Knip is free and open-source software licensed under the [ISC License][11].
3837

3938
Parts of Knip have been inspired by and/or partially copy code from the
4039
following projects:
4140

42-
- [@npmcli/package-json][17] ([ISC][18])
43-
- [@pnpm/deps.graph-sequencer][15] ([MIT][16])
44-
- [file-entry-cache][13] ([MIT][14])
45-
- [json-parse-even-better-errors][19] ([MIT][20])
41+
- [@npmcli/package-json][12] ([ISC][13])
42+
- [@pnpm/deps.graph-sequencer][14] ([MIT][15])
43+
- [file-entry-cache][16] ([MIT][17])
44+
- [json-parse-even-better-errors][18] ([MIT][19])
4645

4746
[1]: https://www.npmjs.com/package/knip
4847
[2]: https://img.shields.io/npm/v/knip?color=f56e0f
@@ -51,18 +50,17 @@ following projects:
5150
[5]:
5251
https://img.shields.io/github/stars/webpro-nl/knip?style=flat-square&color=f56e0f
5352
[6]: https://knip.dev
54-
[7]: https://discord.gg/r5uXTtbTpc
55-
[8]: https://github.com/webpro-nl/knip/blob/main/.github/CONTRIBUTING.md
56-
[9]: https://knip.dev/sponsors
57-
[10]: https://knip.dev/#created-by-awesome-contributors
58-
[11]: https://www.youtube.com/watch?v=PE7h7KvQoUI&t=9s
59-
[12]: ./license
60-
[13]: https://github.com/jaredwray/cacheable/tree/main/packages/file-entry-cache
61-
[14]:
53+
[7]: https://github.com/webpro-nl/knip/blob/main/.github/CONTRIBUTING.md
54+
[8]: https://knip.dev/sponsors
55+
[9]: https://knip.dev/#created-by-awesome-contributors
56+
[10]: https://www.youtube.com/watch?v=PE7h7KvQoUI&t=9s
57+
[11]: ./license
58+
[12]: https://github.com/npm/package-json
59+
[13]: https://github.com/npm/package-json/blob/main/LICENSE
60+
[14]: https://github.com/pnpm/pnpm/tree/main/deps/graph-sequencer
61+
[15]: https://github.com/pnpm/pnpm/blob/main/LICENSE
62+
[16]: https://github.com/jaredwray/cacheable/tree/main/packages/file-entry-cache
63+
[17]:
6264
https://github.com/jaredwray/cacheable/blob/main/packages/file-entry-cache/LICENSE
63-
[15]: https://github.com/pnpm/pnpm/tree/main/deps/graph-sequencer
64-
[16]: https://github.com/pnpm/pnpm/blob/main/LICENSE
65-
[17]: https://github.com/npm/package-json
66-
[18]: https://github.com/npm/package-json/blob/main/LICENSE
67-
[19]: https://github.com/npm/json-parse-even-better-errors
68-
[20]: https://github.com/npm/json-parse-even-better-errors/blob/main/LICENSE.md
65+
[18]: https://github.com/npm/json-parse-even-better-errors
66+
[19]: https://github.com/npm/json-parse-even-better-errors/blob/main/LICENSE.md

0 commit comments

Comments
 (0)