AlaskaAirlines / auro-accordion

Custom element that allows users to toggle the display for sections of content
https://auro.alaskaair.com/components/auro/accordion
Apache License 2.0
1 stars 1 forks source link

API page UI is broken #89

Closed blackfalcon closed 7 months ago

blackfalcon commented 9 months ago

Please verify the version of auro-accordion you have installed

@latest

Please describe the bug

The API page has broken links and the code rendering is not appearing as expected

  1. Go to https://auro.alaskaair.com/components/auro/accordion/api
  2. Scroll down and see that code examples are not hidden by the drawer

Additionally, most API reference links do not have linked content. Examples are;

  1. https://auro.alaskaair.com/components/auro/accordion/api#alignRight
  2. https://auro.alaskaair.com/components/auro/accordion/api#alignRight
  3. https://auro.alaskaair.com/components/auro/accordion/api#grouped
  4. https://auro.alaskaair.com/components/auro/accordion/api#variant
  5. https://auro.alaskaair.com/components/auro/accordion/api#toggle
  6. https://auro.alaskaair.com/components/auro/accordion/api#toggleExpanded
  7. https://auro.alaskaair.com/components/auro/accordion/api#trigger

Reproducing the error on the docsite

This issue is reproducible on the Auro docsite

Expected behavior

The API page should hide all code examples away from view and if there are links from the API references, they should go to example content on the page.

What browsers are you seeing the problem on?

Chrome

Additional context

No response

Exit criteria

This issue can be closed once the API document page hides all the code examples and the reference links all link to content on the page.