This commit is contained in:
2025-10-05 13:52:22 +02:00
commit 63929c2dce
65 changed files with 10729 additions and 0 deletions

38
doc/astro.config.mjs Normal file
View File

@@ -0,0 +1,38 @@
// @ts-check
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: "Astro PocketBase",
social: {
github: "https://github.com/gbouteiller/astro-pocketbase",
},
sidebar: [
{
label: "Start here",
items: [
{ label: "Getting Started", slug: "start-here/getting-started" },
{ label: "Manual Setup", slug: "start-here/manual-setup" },
{ label: "Usage", slug: "start-here/usage" },
],
},
{
label: "Guides",
items: [
{ label: "Schemas and Types", slug: "guides/schemas-and-types" },
{ label: "Middleware", slug: "guides/middleware" },
{ label: "Loader", slug: "guides/loader" },
{ label: "Zod PocketBase", slug: "guides/zod-pocketbase" },
],
},
{
label: "Reference",
autogenerate: { directory: "reference" },
},
],
}),
],
});