discordjs / builders

A collection of builders that you can use when creating your bot.
Apache License 2.0
97 stars 37 forks source link

Broken link in documentation #70

Open GoudronViande24 opened 2 years ago

GoudronViande24 commented 2 years ago

Issue description

  1. Go to this page: https://discord.js.org/#/docs/builders/stable/typedef/AuthorOptions
  2. Click the little icon at top right The icon
  3. GitHub's 404 error page shows up

Note: the following is not relevant but required, so I wrote random values: image

Code sample

No response

discord.js version

stable

Node.js version

Not applicable

Operating system

No response

Priority this issue should have

Low (slightly annoying)

Which partials do you have configured?

No Partials

Which gateway intents are you subscribing to?

GUILDS

I have tested this issue on a development release

No response

GoudronViande24 commented 2 years ago

Just tested a few other pages, looks like it's not the only one with this issue.

Jiralite commented 2 years ago

It seems the documentation generator doesn't include the full path as of commit https://github.com/discordjs/builders/commit/b5d0b157b1262bd01fa011f8e0cf33adb82776e7.

Prior to this commit, the path would be prefixed with "src", but executing npm run-script docs after this commit drops the "src" prefix from the path rendering the links as 404. Strange...