feat: convert to an astro application (!9)

Reviewed-on: https://codeberg.org/nhcarrigan/docs/pulls/9
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
2024-08-23 23:49:24 +00:00
committed by Naomi the Technomancer
parent 2898736099
commit 4cc44ae423
43 changed files with 4727 additions and 1368 deletions

33
astro.config.mjs Normal file
View File

@ -0,0 +1,33 @@
import { defineConfig } from 'astro/config';
import starlight from "@astrojs/starlight";
import { navigation } from "./src/components/navigation.ts";
export default defineConfig({
integrations: [starlight({
title: "Naomi's Documentation",
sidebar: navigation,
tableOfContents: true,
description: "Helpful documentation we want to share with everyone.",
social: {
codeberg: "https://codeberg.org/nhcarrigan",
github: "https://github.com/nhcarrigan",
discord: "https://chat.nhcarrigan.com"
},
head: [
{
tag: "script",
attrs: {
type: "text/javascript",
id: "hs-script-loader",
async: true,
defer: true,
src: "//js.hs-scripts.com/47086586.js"
}
}
],
customCss: [
"./src/styles/style.css"
]
})]
});