svelteness / kit-docs

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

Support base path (gh-pages) #93

Closed CaptainCodeman closed 1 year ago

CaptainCodeman commented 1 year ago

kit-doc doesn't currently work with Github pages, mostly because it generates some URLs without taking into account the $app/paths base option. This PR adds enough support for that to make use with Github pages possible, although you still need to handle some resolving slightly differently (see https://github.com/svelteness/kit-docs/compare/main...CaptainCodeman:kit-docs:base-example?expand=1 for changes to demo project to make it work).

I also updated all the project dependencies to the latest versions as well.

mihar-22 commented 1 year ago

Awesome! Looks great, thank you.