aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/svelte.config.js
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-07-28 20:32:10 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-07-28 20:32:10 +0200
commitfd6664b8e7c49f620047714c4adc9b09fbbd2876 (patch)
tree7f92c59c860fc4bb0cbee3eabfa6b074c485a105 /web/pw-server/svelte.config.js
parent18aede91be332a122ab32ae049aaa7c217270dd1 (diff)
downloadplanetwars.dev-fd6664b8e7c49f620047714c4adc9b09fbbd2876.tar.xz
planetwars.dev-fd6664b8e7c49f620047714c4adc9b09fbbd2876.zip
set up docs route
Diffstat (limited to 'web/pw-server/svelte.config.js')
-rw-r--r--web/pw-server/svelte.config.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/pw-server/svelte.config.js b/web/pw-server/svelte.config.js
index 197fa56..fe396f9 100644
--- a/web/pw-server/svelte.config.js
+++ b/web/pw-server/svelte.config.js
@@ -12,7 +12,10 @@ const config = {
preprocess: [
sveltePreprocess(),
mdsvex({
- extensions: ['.md']
+ extensions: ['.md'],
+ layout: {
+ docs: 'src/routes/docs/doc.svelte',
+ }
}),
],
extensions: ['.svelte', '.md'],