builders icon indicating copy to clipboard operation
builders copied to clipboard

Broken link in documentation

Open GoudronViande24 opened this issue 3 years ago • 2 comments

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 avatar Dec 30 '21 22:12 GoudronViande24

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

GoudronViande24 avatar Dec 30 '21 22:12 GoudronViande24

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...

Jiralite avatar Dec 30 '21 23:12 Jiralite