New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to more recent SvelteKit #68
Conversation
Hey @davej thanks heaps for picking this up. I'm sorry I fell behind on this one as there's a lot of work on my plate I need to finish. By links resolution I was referring to this file. It maps file paths in the routes folder (or has that changed?) to a URL and vice versa. Two functions that need to be checked: I don't know what the current route file name conventions are but we need to map them. For example, |
@mihar-22 These two functions already seem ok to me but I'm not 100% sure. Can you tell me if the input and output look correct below? resolveSlug("docs/getting-started/introduction")
// ->
"src/routes/docs/[...1]getting-started/[...1]introduction/+page.md" slugifyFilePath("/Users/davejeffery/code/forks/kit-docs/packages/kit-docs/src/routes/docs/[...4]production/[...6]deploying/+page.md")
// ->
"/docs/production/deploying" |
In my latest commit (d5daa84) I managed to get It works for me now @mihar-22 but I'm not sure if it is correct and you are probably best placed to make the last couple of adjustments if they are needed. |
I am seeing the following error in the console. Any idea what might be going on here?
|
Looks good to me.
Sure I'll walk through everything when you're done :)
Unfortunately not, probably SvelteKit or Vite related. It depends when that's appearing? What command are you running? |
@mihar-22 Ah looks like @slowsage might have added a |
Ok, @mihar-22, I'm finished now. This is ready for review. |
Awesome thank you so much @davej! I'll have a look either today or tomorrow depending on my work. |
Thanks. I appreciate it. Looking forward to getting this merged! 😊 |
I think because this was forked from slowsage's fork I can't push to it. I created a new branch |
This is a follow-on from #67.
@mihar-22 I'm not quite sure what you mean by "links resolution is wrong"? Could you give more detail and I can try to fix it.