simeydotme / svelte-range-slider-pips

Multi-Thumb, Accessible, Beautiful Range Slider with Pips
https://simeydotme.github.io/svelte-range-slider-pips/
Mozilla Public License 2.0
461 stars 44 forks source link

[docs] Broken links on docs site #118

Open sortbyfirstname opened 1 year ago

sortbyfirstname commented 1 year ago

Describe the bug There are some broken links on the docs site.

Sidebar:

Examples:

Recipes:

simeydotme commented 1 year ago

thank you @sortbyfirstname !! I rushed this out before a vacation / new job and I didn't get a chance to fully QA it. but I deemed it was better than the previous one so just "shipped it" :D

really appreciate the feedback

simeydotme commented 1 year ago

The PR didn't fix the broken links in the Recipes/Examples landing pages, @sortbyfirstname ... I'll take a deeper look later. There's something weird with the way the base interacts with them

sortbyfirstname commented 1 year ago

That is weird, sorry about that - "worked on my machine" 😅. I'll admit this was my first time dealing with Astro, will have another look when I get a chance as well.

kelvinsjk commented 3 months ago

For the relative links that are broken, I believe it's due to the trailing slash at the end of urls (see https://learn.svelte.dev/tutorial/trailingslash). So the [Read more](./steps-combined) link when a user is on "/example/pips/" sends a link to "/example/pips/steps-combined/" when the intended target to "/example/steps-combined/"

simeydotme commented 2 months ago

For the relative links that are broken, I believe it's due to the trailing slash at the end of urls (see https://learn.svelte.dev/tutorial/trailingslash). So the [Read more](./steps-combined) link when a user is on "/example/pips/" sends a link to "/example/pips/steps-combined/" when the intended target to "/example/steps-combined/"

Ah! thanks for this Kelvin, I'll see if this is a solution! I might try to upgrade to a newer version of Astro as well, see if it helps