feat: initial commit

This commit is contained in:
DecDuck
2026-01-28 19:36:09 +11:00
parent 06869fb61c
commit 9d7e1c5f17
20 changed files with 1043 additions and 99 deletions
+40 -21
View File
@@ -1,26 +1,45 @@
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightThemeRapide from "starlight-theme-rapide";
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'My Docs',
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/withastro/starlight' }],
sidebar: [
{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Example Guide', slug: 'guides/example' },
],
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
],
}),
],
integrations: [
starlight({
plugins: [starlightThemeRapide()],
title: "Drop OSS",
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/Drop-OSS/",
},
],
sidebar: [
{
label: "Admin",
items: [
{ slug: "admin/quickstart" },
{
label: "Guides",
items: [
{ slug: "admin/guides/exposing" },
{ slug: "admin/guides/creating-library" },
],
},
{
label: "Metadata",
autogenerate: { directory: "admin/metadata" },
},
],
},
{
label: "Reference",
autogenerate: { directory: "reference" },
},
],
customCss: ["./src/styles/drop.css"],
}),
],
});