discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Accordion for File Upload examples not working

Open The-LukeZ opened this issue 2 months ago • 3 comments

Description

The accordion for the file upload examples isn't displayed.

https://github.com/discord/discord-api-docs/blob/main/discord/developers/docs/components/reference.mdx?plain=1#L2030

It should be noted that this was there in the old version of the docs (my browser had the old version cached before I hard refreshed the site after which the accordion was gone)

Steps to Reproduce

  1. Go to https://discord.com/developers/docs/components/reference#file-upload and scroll down to the Examples subheading
  2. Try to find a way to extend the accordion or even try to find the accordion

Expected Behavior

The accordion should be displayed like the accordion for the Label component.

Current Behavior

It is simply not there

Screenshots/Videos

Label examples (working): Image

File Upload examples (not there): Image

Client and System Information

OS: MacOS 26.0.1 Browser: Brave, Safari, Firefox

The-LukeZ avatar Nov 12 '25 09:11 The-LukeZ

I understand they forgot to change Collapsible to Accordion

vakiliner avatar Nov 12 '25 10:11 vakiliner

ah, I see

The-LukeZ avatar Nov 12 '25 10:11 The-LukeZ

Good catch - looks like there's a few mistakes on that page. We'll get it updated.

abe-discord avatar Nov 12 '25 14:11 abe-discord