huntabyte/shadcn-svelte

Broken links due to directory renaming from apps/www/** to sites/docs/**

GeoGeorgeous opened this issue · 2 comments

Change Type

Correction

Proposed Changes

Hey!

I've noticed that the directory apps/www/** was recently renamed to sites/docs/**, which has resulted in broken links across the site.

This affects the Component Source links on component pages in /docs, as well as the View Code links for examples.

For instance:

  1. The Component Source button for the Accordion component still leads to
    https://github.com/huntabyte/shadcn-svelte/tree/main/apps/www/src/lib/registry/default/ui/accordion
    instead of the correct
    https://github.com/huntabyte/shadcn-svelte/tree/main/sites/docs/src/lib/registry/default/ui/accordion

  2. The Tasks example View Code link still points to
    https://github.com/huntabyte/shadcn-svelte/tree/main/apps/www/src/routes/(app)/examples/tasks
    instead of the correct
    https://github.com/huntabyte/shadcn-svelte/tree/main/sites/docs/src/routes/(app)/examples/tasks

Hope it helps

This is odd... had a look and couldn't find any reference to those links.

[Speculation]: Could it be that these new changes weren't built and deployed, and what we see on https://www.shadcn-svelte.com/docs/components/accordion, is an old deployment?

The correct previews are now live. I believe this can be closed.