feat: build docs site statically

This commit is contained in:
daimond113 2024-11-30 12:26:12 +01:00
parent f69c05a05a
commit 385e36f1e4
No known key found for this signature in database
GPG key ID: 3A8ECE51328B513C
3 changed files with 2 additions and 6 deletions

View file

@ -2,10 +2,9 @@ import starlight from "@astrojs/starlight"
import tailwind from "@astrojs/tailwind"
import { defineConfig } from "astro/config"
import vercel from "@astrojs/vercel/serverless"
// https://astro.build/config
export default defineConfig({
site: "https://docs.pesde.daimond113.com",
integrations: [
starlight({
title: "pesde docs",
@ -105,6 +104,4 @@ export default defineConfig({
vite: {
envDir: "..",
},
output: "hybrid",
adapter: vercel(),
})

Binary file not shown.

View file

@ -14,7 +14,6 @@
"@astrojs/starlight": "^0.28.2",
"@astrojs/starlight-tailwind": "^2.0.3",
"@astrojs/tailwind": "^5.1.1",
"@astrojs/vercel": "^7.8.1",
"@fontsource-variable/nunito-sans": "^5.1.0",
"@shikijs/rehype": "^1.21.0",
"astro": "^4.15.9",
@ -27,4 +26,4 @@
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.6.8"
}
}
}