mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-04-10 22:00:55 +01:00
feat: build docs site statically
This commit is contained in:
parent
f69c05a05a
commit
385e36f1e4
3 changed files with 2 additions and 6 deletions
|
@ -2,10 +2,9 @@ import starlight from "@astrojs/starlight"
|
||||||
import tailwind from "@astrojs/tailwind"
|
import tailwind from "@astrojs/tailwind"
|
||||||
import { defineConfig } from "astro/config"
|
import { defineConfig } from "astro/config"
|
||||||
|
|
||||||
import vercel from "@astrojs/vercel/serverless"
|
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
site: "https://docs.pesde.daimond113.com",
|
||||||
integrations: [
|
integrations: [
|
||||||
starlight({
|
starlight({
|
||||||
title: "pesde docs",
|
title: "pesde docs",
|
||||||
|
@ -105,6 +104,4 @@ export default defineConfig({
|
||||||
vite: {
|
vite: {
|
||||||
envDir: "..",
|
envDir: "..",
|
||||||
},
|
},
|
||||||
output: "hybrid",
|
|
||||||
adapter: vercel(),
|
|
||||||
})
|
})
|
||||||
|
|
BIN
docs/bun.lockb
BIN
docs/bun.lockb
Binary file not shown.
|
@ -14,7 +14,6 @@
|
||||||
"@astrojs/starlight": "^0.28.2",
|
"@astrojs/starlight": "^0.28.2",
|
||||||
"@astrojs/starlight-tailwind": "^2.0.3",
|
"@astrojs/starlight-tailwind": "^2.0.3",
|
||||||
"@astrojs/tailwind": "^5.1.1",
|
"@astrojs/tailwind": "^5.1.1",
|
||||||
"@astrojs/vercel": "^7.8.1",
|
|
||||||
"@fontsource-variable/nunito-sans": "^5.1.0",
|
"@fontsource-variable/nunito-sans": "^5.1.0",
|
||||||
"@shikijs/rehype": "^1.21.0",
|
"@shikijs/rehype": "^1.21.0",
|
||||||
"astro": "^4.15.9",
|
"astro": "^4.15.9",
|
||||||
|
@ -27,4 +26,4 @@
|
||||||
"prettier-plugin-astro": "^0.14.1",
|
"prettier-plugin-astro": "^0.14.1",
|
||||||
"prettier-plugin-tailwindcss": "^0.6.8"
|
"prettier-plugin-tailwindcss": "^0.6.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue