mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-05-04 10:33:47 +01:00
50 lines
918 B
JavaScript
50 lines
918 B
JavaScript
import { defineConfig } from "astro/config"
|
|
import starlight from "@astrojs/starlight"
|
|
import tailwind from "@astrojs/tailwind"
|
|
|
|
import vercel from "@astrojs/vercel/serverless"
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
redirects: {
|
|
"/": "/guides/getting-started",
|
|
},
|
|
integrations: [
|
|
starlight({
|
|
title: "pesde docs",
|
|
social: {
|
|
github: "https://github.com/daimond113/pesde",
|
|
},
|
|
sidebar: [
|
|
{
|
|
label: "Guides",
|
|
items: [
|
|
{
|
|
label: "Getting Started",
|
|
slug: "guides/getting-started",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
label: "Reference",
|
|
autogenerate: {
|
|
directory: "reference",
|
|
},
|
|
},
|
|
],
|
|
components: {
|
|
SiteTitle: "./src/components/SiteTitle.astro",
|
|
},
|
|
customCss: ["./src/tailwind.css"],
|
|
}),
|
|
tailwind({
|
|
applyBaseStyles: false,
|
|
}),
|
|
],
|
|
vite: {
|
|
envDir: "..",
|
|
},
|
|
output: "hybrid",
|
|
adapter: vercel(),
|
|
})
|
|
|