This commit is contained in:
parent
a4ee2a9fe4
commit
0a49531a71
34 changed files with 6941 additions and 2 deletions
67
astro.config.mjs
Normal file
67
astro.config.mjs
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
// @ts-check
|
||||
import { defineConfig } from "astro/config";
|
||||
import starlight from "@astrojs/starlight";
|
||||
|
||||
import mdx from "@astrojs/mdx";
|
||||
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
outDir: "dist",
|
||||
|
||||
integrations: [
|
||||
starlight({
|
||||
title: "Tensamin",
|
||||
logo: {
|
||||
alt: "Tensamin Logo",
|
||||
replacesTitle: true,
|
||||
dark: "./src/logo/dark.svg",
|
||||
light: "./src/logo/light.svg",
|
||||
},
|
||||
customCss: ["./src/theme.css"],
|
||||
social: [
|
||||
{
|
||||
icon: "github",
|
||||
label: "GitHub",
|
||||
href: "https://github.com/Tensamin",
|
||||
},
|
||||
{
|
||||
icon: "external",
|
||||
label: "Website",
|
||||
href: "https://tensamin.net",
|
||||
},
|
||||
{
|
||||
icon: "information",
|
||||
label: "Status",
|
||||
href: "https://status.tensamin.net",
|
||||
},
|
||||
],
|
||||
sidebar: [
|
||||
"index",
|
||||
"installation",
|
||||
{
|
||||
label: "Components",
|
||||
items: [
|
||||
{ label: "Iota", autogenerate: { directory: "components/iota" } },
|
||||
{
|
||||
label: "Omikron",
|
||||
autogenerate: { directory: "components/omikron" },
|
||||
},
|
||||
{ label: "Omega", autogenerate: { directory: "components/omega" } },
|
||||
{
|
||||
label: "Auth Server",
|
||||
autogenerate: { directory: "components/auth-server" },
|
||||
},
|
||||
],
|
||||
},
|
||||
{ label: "Security", autogenerate: { directory: "security" } },
|
||||
],
|
||||
}),
|
||||
mdx(),
|
||||
],
|
||||
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
},
|
||||
});
|
||||
Loading…
Reference in a new issue