Skip to content

Commit

Permalink
fix: fix external links (#9313)
Browse files Browse the repository at this point in the history
* fix: fix external links

* fix: fix external links

* fix: link to correct classes

* fix: fix JSONEncodable link

* chore: fix select menu link

* fix: fix external links

* fix: link to correct classes

* fix: fix JSONEncodable link

* chore: fix select menu link

* fix: fix collection#sweep url

* fix: fix subpackages urls

* fix: fix discord.js docs url

* Update packages/util/docs/README.md

Co-authored-by: Jiralite <[email protected]>

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Aura Román <[email protected]>
Co-authored-by: Jiralite <[email protected]>
  • Loading branch information
4 people authored Apr 7, 2023
1 parent c519fe6 commit a7425c2
Show file tree
Hide file tree
Showing 27 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion packages/brokers/docs/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/brokers)
## [View the documentation here.](https://discord.js.org/docs/packages/brokers/main)
2 changes: 1 addition & 1 deletion packages/builders/docs/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/builders)
## [View the documentation here.](https://discord.js.org/docs/packages/builders/main)
2 changes: 1 addition & 1 deletion packages/collection/docs/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/collection)
## [View the documentation here.](https://discord.js.org/docs/packages/collection/main)
2 changes: 1 addition & 1 deletion packages/discord.js/docs/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs)
## [View the documentation here.](https://discord.js.org/docs/packages/discord.js/main)
2 changes: 1 addition & 1 deletion packages/discord.js/src/client/BaseClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ module.exports = BaseClient;

/**
* @external REST
* @see {@link https://discord.js.org/#/docs/rest/main/class/REST}
* @see {@link https://discord.js.org/docs/packages/rest/main/REST:Class}
*/
6 changes: 3 additions & 3 deletions packages/discord.js/src/client/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,15 +544,15 @@ module.exports = Client;

/**
* @external Collection
* @see {@link https://discord.js.org/#/docs/collection/main/class/Collection}
* @see {@link https://discord.js.org/docs/packages/collection/main/Collection:Class}
*/

/**
* @external ImageURLOptions
* @see {@link https://discord.js.org/#/docs/rest/main/typedef/ImageURLOptions}
* @see {@link https://discord.js.org/docs/packages/rest/main/ImageURLOptions:Interface}
*/

/**
* @external BaseImageURLOptions
* @see {@link https://discord.js.org/#/docs/rest/main/typedef/BaseImageURLOptions}
* @see {@link https://discord.js.org/docs/packages/rest/main/BaseImageURLOptions:Interface}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/ActionRowBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ module.exports = ActionRowBuilder;

/**
* @external BuildersActionRow
* @see {@link https://discord.js.org/#/docs/builders/main/class/ActionRowBuilder}
* @see {@link https://discord.js.org/docs/packages/builders/main/ActionRowBuilder:Class}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/ApplicationCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,5 +602,5 @@ module.exports = ApplicationCommand;

/**
* @external ApplicationCommandOptionAllowedChannelTypes
* @see {@link https://discord.js.org/#/docs/builders/main/typedef/ApplicationCommandOptionAllowedChannelTypes}
* @see {@link https://discord.js.org/docs/packages/builders/main/ApplicationCommandOptionAllowedChannelTypes:TypeAlias}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/ButtonBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ module.exports = ButtonBuilder;

/**
* @external BuildersButton
* @see {@link https://discord.js.org/#/docs/builders/main/class/ButtonBuilder}
* @see {@link https://discord.js.org/docs/packages/builders/main/ButtonBuilder:Class}
*/
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ module.exports = ChannelSelectMenuBuilder;

/**
* @external BuildersChannelSelectMenu
* @see {@link https://discord.js.org/#/docs/builders/main/class/ChannelSelectMenuBuilder}
* @see {@link https://discord.js.org/docs/packages/builders/main/ChannelSelectMenuBuilder:Class}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/EmbedBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ module.exports = EmbedBuilder;

/**
* @external BuildersEmbed
* @see {@link https://discord.js.org/#/docs/builders/main/class/EmbedBuilder}
* @see {@link https://discord.js.org/docs/packages/builders/main/EmbedBuilder:Class}
*/
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ module.exports = MentionableSelectMenuBuilder;

/**
* @external BuildersMentionableSelectMenu
* @see {@link https://discord.js.org/#/docs/builders/main/class/MentionableSelectMenuBuilder}
* @see {@link https://discord.js.org/docs/packages/builders/main/MentionableSelectMenuBuilder:Class}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/MessagePayload.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,5 +297,5 @@ module.exports = MessagePayload;

/**
* @external RawFile
* @see {@link https://discord.js.org/#/docs/rest/main/typedef/RawFile}
* @see {@link https://discord.js.org/docs/packages/rest/main/RawFile:Interface}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/ModalBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ module.exports = ModalBuilder;

/**
* @external BuildersModal
* @see {@link https://discord.js.org/#/docs/builders/main/class/ModalBuilder}
* @see {@link https://discord.js.org/docs/packages/builders/main/ModalBuilder:Class}
*/
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ module.exports = RoleSelectMenuBuilder;

/**
* @external BuildersRoleSelectMenu
* @see {@link https://discord.js.org/#/docs/builders/main/class/RoleSelectMenuBuilder}
* @see {@link https://discord.js.org/docs/packages/builders/main/RoleSelectMenuBuilder:Class}
*/
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ module.exports = StringSelectMenuBuilder;

/**
* @external BuildersSelectMenu
* @see {@link https://discord.js.org/#/docs/builders/main/class/SelectMenuBuilder}
* @see {@link https://discord.js.org/docs/packages/builders/main/StringSelectMenuBuilder:Class}
*/
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ module.exports = StringSelectMenuOptionBuilder;

/**
* @external BuildersSelectMenuOption
* @see {@link https://discord.js.org/#/docs/builders/main/class/SelectMenuOptionBuilder}
* @see {@link https://discord.js.org/docs/packages/builders/main/SelectMenuOptionBuilder:Class}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/TextInputBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ module.exports = TextInputBuilder;

/**
* @external BuildersTextInput
* @see {@link https://discord.js.org/#/docs/builders/main/class/TextInputBuilder}
* @see {@link https://discord.js.org/docs/packages/builders/main/TextInputBuilder:Class}
*/
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ module.exports = UserSelectMenuBuilder;

/**
* @external BuildersUserSelectMenu
* @see {@link https://discord.js.org/#/docs/builders/main/class/UserSelectMenuBuilder}
* @see {@link https://discord.js.org/docs/packages/rest/main/UserSelectMenuBuilder:Class}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/util/Components.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,5 @@ const UserSelectMenuComponent = require('../structures/UserSelectMenuComponent')

/**
* @external JSONEncodable
* @see {@link https://discord.js.org/#/docs/builders/main/typedef/JSONEncodable}
* @see {@link https://discord.js.org/docs/packages/util/main/JSONEncodable:Interface}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/util/Options.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,5 @@ module.exports = Options;

/**
* @external RESTOptions
* @see {@link https://discord.js.org/#/docs/rest/main/typedef/RESTOptions}
* @see {@link https://discord.js.org/docs/packages/rest/main/RESTOptions:Interface}
*/
2 changes: 1 addition & 1 deletion packages/discord.js/src/util/Sweepers.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const { DiscordjsTypeError, ErrorCodes } = require('../errors');
/**
* @typedef {Function} GlobalSweepFilter
* @returns {Function|null} Return `null` to skip sweeping, otherwise a function passed to `sweep()`,
* See {@link [Collection#sweep](https://discord.js.org/#/docs/collection/main/class/Collection?scrollTo=sweep)}
* See {@link [Collection#sweep](https://discord.js.org/docs/packages/collection/main/Collection:Class#sweep)}
* for the definition of this function.
*/

Expand Down
2 changes: 1 addition & 1 deletion packages/proxy/docs/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/proxy)
## [View the documentation here.](https://discord.js.org/docs/packages/proxy/main)
2 changes: 1 addition & 1 deletion packages/rest/docs/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/rest)
## [View the documentation here.](https://discord.js.org/docs/packages/rest/main)
2 changes: 1 addition & 1 deletion packages/util/docs/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/rest)
## [View the documentation here.](https://discord.js.org/docs/packages/util/main)
2 changes: 1 addition & 1 deletion packages/voice/docs/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/voice)
## [View the documentation here.](https://discord.js.org/docs/packages/voice/main)
2 changes: 1 addition & 1 deletion packages/ws/docs/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## [View the documentation here.](https://discord.js.org/#/docs/ws)
## [View the documentation here.](https://discord.js.org/docs/packages/ws/main)

0 comments on commit a7425c2

Please sign in to comment.