Closed KevinHodder closed 1 year ago
@svelteuidev/core
From any given component documentation page, the "Edit this page" github link is broken, because of the move to sveltekit +page.md format
No response
Yes
The whole set of docs can be fixed with a regex replace, and one small string change.
replace docs: '(\w*)/([\w-]*).md' with docs: '$1/$2/+page.md'
docs: '(\w*)/([\w-]*).md'
docs: '$1/$2/+page.md'
and update /apps/docs/src/lib/components/Heading.svelte #line 11 with docs: 'https://github.com/svelteuidev/svelteui/blob/main/apps/docs/src/routes/',
docs: 'https://github.com/svelteuidev/svelteui/blob/main/apps/docs/src/routes/',
Tested and confirmed working with these two changes. Tried to push a branch for your consideration, but permission denied.
Thank you for pointing this out :raised_hands:, it has been fixed and deployed
What package has an issue
@svelteuidev/core
A clear and concise description of what the bug is
From any given component documentation page, the "Edit this page" github link is broken, because of the move to sveltekit +page.md format
In which browser(s) did the problem occur?
No response
Steps To Reproduce
Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Relevant Assets
The whole set of docs can be fixed with a regex replace, and one small string change.
replace
docs: '(\w*)/([\w-]*).md'
withdocs: '$1/$2/+page.md'
and update /apps/docs/src/lib/components/Heading.svelte #line 11 with
docs: 'https://github.com/svelteuidev/svelteui/blob/main/apps/docs/src/routes/',
Tested and confirmed working with these two changes. Tried to push a branch for your consideration, but permission denied.