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 tailwind from "@astrojs/tailwind"
|
||||
|
||||
import vercel from "@astrojs/vercel/serverless"
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
redirects: {
|
||||
|
@ -16,11 +18,18 @@ export default defineConfig({
|
|||
sidebar: [
|
||||
{
|
||||
label: "Guides",
|
||||
items: [{ label: "Getting Started", slug: "guides/getting-started" }],
|
||||
items: [
|
||||
{
|
||||
label: "Getting Started",
|
||||
slug: "guides/getting-started",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Reference",
|
||||
autogenerate: { directory: "reference" },
|
||||
autogenerate: {
|
||||
directory: "reference",
|
||||
},
|
||||
},
|
||||
],
|
||||
components: {
|
||||
|
@ -28,9 +37,14 @@ export default defineConfig({
|
|||
},
|
||||
customCss: ["./src/tailwind.css"],
|
||||
}),
|
||||
tailwind({ applyBaseStyles: false }),
|
||||
tailwind({
|
||||
applyBaseStyles: false,
|
||||
}),
|
||||
],
|
||||
vite: {
|
||||
envDir: "..",
|
||||
},
|
||||
output: "hybrid",
|
||||
adapter: vercel(),
|
||||
})
|
||||
|
||||
|
|
BIN
docs/bun.lockb
BIN
docs/bun.lockb
Binary file not shown.
|
@ -1,26 +1,29 @@
|
|||
{
|
||||
"name": "docs",
|
||||
"type": "module",
|
||||
"version": "0.0.1",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"build": "astro check && astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/starlight": "^0.26.1",
|
||||
"@astrojs/starlight-tailwind": "^2.0.3",
|
||||
"@astrojs/tailwind": "^5.1.0",
|
||||
"astro": "^4.10.2",
|
||||
"sharp": "^0.32.5",
|
||||
"tailwindcss": "^3.4.4",
|
||||
"@astrojs/check": "^0.9.3",
|
||||
"typescript": "^5.5.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier-plugin-astro": "^0.14.1",
|
||||
"prettier-plugin-tailwindcss": "^0.6.6"
|
||||
}
|
||||
"name": "docs",
|
||||
"type": "module",
|
||||
"version": "0.0.1",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"build": "astro check && astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/check": "^0.9.3",
|
||||
"@astrojs/starlight": "^0.28.2",
|
||||
"@astrojs/starlight-tailwind": "^2.0.3",
|
||||
"@astrojs/tailwind": "^5.1.1",
|
||||
"@astrojs/vercel": "^7.8.1",
|
||||
"@shikijs/rehype": "^1.21.0",
|
||||
"astro": "^4.15.9",
|
||||
"sharp": "^0.33.5",
|
||||
"shiki": "^1.21.0",
|
||||
"tailwindcss": "^3.4.13",
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"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