kit-docs
kit-docs copied to clipboard
deploy in githubpages
Is there a way to set base Path ? I've added base path to svelte.config, but sidebar menu links to /doc/welcomeinstead of /mybase/doc/welcome
import adapter from '@sveltejs/adapter-static';
/** @type {import('@sveltejs/kit').Config} */
const config = {
extensions: ['.svelte', '.md'],
kit: {
adapter: adapter(),
paths: {
base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
},
prerender: {
entries: ['*'],
handleMissingId: 'warn'
}
}
};
export default config;