mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-05-04 10:33:47 +01:00
feat(docs): config changes
This commit is contained in:
parent
1ea3257b71
commit
b2ba9029e8
4 changed files with 47 additions and 30 deletions
|
@ -2,6 +2,8 @@ import { defineConfig } from "astro/config"
|
||||||
import starlight from "@astrojs/starlight"
|
import starlight from "@astrojs/starlight"
|
||||||
import tailwind from "@astrojs/tailwind"
|
import tailwind from "@astrojs/tailwind"
|
||||||
|
|
||||||
|
import vercel from "@astrojs/vercel/serverless"
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
redirects: {
|
redirects: {
|
||||||
|
@ -16,11 +18,18 @@ export default defineConfig({
|
||||||
sidebar: [
|
sidebar: [
|
||||||
{
|
{
|
||||||
label: "Guides",
|
label: "Guides",
|
||||||
items: [{ label: "Getting Started", slug: "guides/getting-started" }],
|
items: [
|
||||||
|
{
|
||||||
|
label: "Getting Started",
|
||||||
|
slug: "guides/getting-started",
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Reference",
|
label: "Reference",
|
||||||
autogenerate: { directory: "reference" },
|
autogenerate: {
|
||||||
|
directory: "reference",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
components: {
|
components: {
|
||||||
|
@ -28,9 +37,14 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
customCss: ["./src/tailwind.css"],
|
customCss: ["./src/tailwind.css"],
|
||||||
}),
|
}),
|
||||||
tailwind({ applyBaseStyles: false }),
|
tailwind({
|
||||||
|
applyBaseStyles: false,
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
vite: {
|
vite: {
|
||||||
envDir: "..",
|
envDir: "..",
|
||||||
},
|
},
|
||||||
|
output: "hybrid",
|
||||||
|
adapter: vercel(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
BIN
docs/bun.lockb
BIN
docs/bun.lockb
Binary file not shown.
|
@ -1,26 +1,29 @@
|
||||||
{
|
{
|
||||||
"name": "docs",
|
"name": "docs",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
"build": "astro check && astro build",
|
"build": "astro check && astro build",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/starlight": "^0.26.1",
|
"@astrojs/check": "^0.9.3",
|
||||||
"@astrojs/starlight-tailwind": "^2.0.3",
|
"@astrojs/starlight": "^0.28.2",
|
||||||
"@astrojs/tailwind": "^5.1.0",
|
"@astrojs/starlight-tailwind": "^2.0.3",
|
||||||
"astro": "^4.10.2",
|
"@astrojs/tailwind": "^5.1.1",
|
||||||
"sharp": "^0.32.5",
|
"@astrojs/vercel": "^7.8.1",
|
||||||
"tailwindcss": "^3.4.4",
|
"@shikijs/rehype": "^1.21.0",
|
||||||
"@astrojs/check": "^0.9.3",
|
"astro": "^4.15.9",
|
||||||
"typescript": "^5.5.4"
|
"sharp": "^0.33.5",
|
||||||
},
|
"shiki": "^1.21.0",
|
||||||
"devDependencies": {
|
"tailwindcss": "^3.4.13",
|
||||||
"prettier-plugin-astro": "^0.14.1",
|
"typescript": "^5.6.2"
|
||||||
"prettier-plugin-tailwindcss": "^0.6.6"
|
},
|
||||||
}
|
"devDependencies": {
|
||||||
}
|
"prettier-plugin-astro": "^0.14.1",
|
||||||
|
"prettier-plugin-tailwindcss": "^0.6.8"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"extends": "astro/tsconfigs/strict"
|
"extends": "astro/tsconfigs/strict"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue