File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
docs-svelte-kit/src/routes Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11import { markdownPath } from "$lib/utils.js"
22const docs = import . meta. glob ( "../../../docs/**/*.md" )
33
4+ export const prerender = true
5+
46/** @type {import('@sveltejs/kit').Load } */
57export async function load ( { url } ) {
68 const markdown = `../../../docs/${ markdownPath ( url . pathname ) } `
Original file line number Diff line number Diff line change 9090 "@fontsource/fira-mono" : " ^4.5.0" ,
9191 "@ota-meshi/eslint-plugin" : " ^0.12.0" ,
9292 "@sindresorhus/slugify" : " ^2.1.0" ,
93- "@sveltejs/adapter-static" : " ^1.0.0-next.26 " ,
94- "@sveltejs/kit" : " ^1.0.0-next.406 " ,
93+ "@sveltejs/adapter-static" : " ^1.0.0-next.40 " ,
94+ "@sveltejs/kit" : " ^1.0.0-next.456 " ,
9595 "@types/babel__core" : " ^7.1.19" ,
9696 "@types/cross-spawn" : " ^6.0.2" ,
9797 "@types/escape-html" : " ^1.0.2" ,
Original file line number Diff line number Diff line change @@ -37,12 +37,9 @@ const config = {
3737 pages : outDir ,
3838 assets : outDir ,
3939 } ) ,
40- prerender : {
41- default : true ,
42- } ,
4340 files : {
4441 routes : path . join ( dirname , "./docs-svelte-kit/src/routes" ) ,
45- template : path . join ( dirname , "./docs-svelte-kit/src/app.html" ) ,
42+ appTemplate : path . join ( dirname , "./docs-svelte-kit/src/app.html" ) ,
4643 hooks : path . join ( dirname , "./docs-svelte-kit/src/hooks" ) ,
4744 lib : path . join ( dirname , "./docs-svelte-kit/src/lib" ) ,
4845 assets : path . join ( dirname , "./docs-svelte-kit/statics" ) ,
You can’t perform that action at this time.
0 commit comments