mirror of
https://github.com/immich-app/yucca.git
synced 2026-09-30 13:33:00 +08:00
packages/docs is a SvelteKit site where every page is a +page.md compiled by @immich/svelte-markdown-preprocess into @immich/ui components, deployed to Cloudflare Pages the way static-pages deploys the immich.app sites (tf/pages/docs; main -> docs.futo.cloud, every PR gets a preview). The content is written for beta users: joining the beta, setting up in Immich or the standalone container, the recovery key, backups, schedules, restores, the account dashboard, troubleshooting and support. Internal and developer documentation stays in docs/ and the per-directory READMEs.
22 lines
495 B
JavaScript
22 lines
495 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
import { docsMarkdownPreprocess } from './svelte-markdown.js';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
extensions: ['.svelte', '.md'],
|
|
preprocess: [
|
|
docsMarkdownPreprocess({
|
|
layouts: {
|
|
default: '$lib/components/DocsPage.svelte',
|
|
},
|
|
}),
|
|
vitePreprocess(),
|
|
],
|
|
kit: {
|
|
adapter: adapter(),
|
|
},
|
|
};
|
|
|
|
export default config;
|