svelteness / kit-docs

Documentation integration for SvelteKit.
https://kitdocs.vercel.app
MIT License
457 stars 32 forks source link

pnpm dev working #67

Closed slowsage closed 1 year ago

slowsage commented 1 year ago

This is a best effort to migrate to the new routing system covering kit-docs (not the create module). I got the sidebar working and a lot of other small things. It may help you finish the integration. There are 3 unresolved issues:

  1. There is one issue with pnpm build - it needs the Response type in the node/handler.
  2. Run pnpm dev. There is a layout issue fixed
  3. shiki config may need to be fixed for various languages. Added languages manually. Not sure what the correct approach is.

I think I fixed all the major issues. kit-docs package seems to be working.

Thank you

mihar-22 commented 1 year ago

Oh wow, thank you so much @slowsage. I'll pull it down and have a quick look now.

mihar-22 commented 1 year ago

It's an awesome start! Not much left to go:

I think that's about it, I'll have another look tonight and see what else I can add in. Thank you again slowsage.

davej commented 1 year ago

Followed on from this in #68. I would appreciate it if you take a look @mihar-22. Just one item remaining, if you give me some clarification then I should be able to fix that too.

mihar-22 commented 1 year ago

PR is continued here:

https://github.com/svelteness/kit-docs/pull/69