2024-08-23 23:49:24 +00:00
|
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
import starlight from "@astrojs/starlight";
|
|
|
|
|
|
|
|
import { navigation } from "./src/components/navigation.ts";
|
|
|
|
|
|
|
|
export default defineConfig({
|
2024-10-23 20:49:54 +00:00
|
|
|
site: "https://docs.nhcarrigan.com",
|
2024-08-23 23:49:24 +00:00
|
|
|
integrations: [starlight({
|
2024-10-23 20:49:54 +00:00
|
|
|
components: {
|
|
|
|
Footer: "./src/components/Footer.astro",
|
|
|
|
},
|
2024-08-23 23:49:24 +00:00
|
|
|
title: "Naomi's Documentation",
|
|
|
|
sidebar: navigation,
|
2024-09-30 04:25:20 +00:00
|
|
|
tableOfContents: { minHeadingLevel: 2, maxHeadingLevel: 4},
|
2024-08-23 23:49:24 +00:00
|
|
|
description: "Helpful documentation we want to share with everyone.",
|
2024-09-30 04:25:20 +00:00
|
|
|
editLink: {
|
|
|
|
baseUrl: "https://codeberg.org/nhcarrigan/docs/_edit/main/",
|
|
|
|
label: "Edit this page on Codeberg"
|
|
|
|
},
|
|
|
|
lastUpdated: true,
|
2024-08-23 23:49:24 +00:00
|
|
|
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"
|
|
|
|
}
|
2024-10-15 03:08:13 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
tag: "script",
|
|
|
|
attrs: {
|
|
|
|
type: "text/javascript",
|
|
|
|
id: "analytics",
|
|
|
|
src: "https://analytics.nhcarrigan.com/js/script.file-downloads.outbound-links.js",
|
|
|
|
defer: true,
|
2024-10-15 03:10:44 +00:00
|
|
|
"data-domain": "docs.nhcarrigan.com"
|
2024-10-15 03:08:13 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
tag: "script",
|
|
|
|
content: "window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }"
|
2024-10-23 20:49:54 +00:00
|
|
|
},
|
2024-11-28 22:47:44 +00:00
|
|
|
{
|
|
|
|
tag: "script",
|
|
|
|
content: `window.$crisp=[];window.CRISP_WEBSITE_ID="5398ce41-4ceb-4e31-9049-4c784a70179a";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();`
|
|
|
|
},
|
2024-10-23 20:49:54 +00:00
|
|
|
{
|
|
|
|
tag: "script",
|
|
|
|
attrs: {
|
|
|
|
type: "text/javascript",
|
|
|
|
id: "trees",
|
|
|
|
src: "https://widgets.tree-nation.com/js/widgets/v1/widgets.min.js?v=1.0",
|
|
|
|
defer: true
|
|
|
|
}
|
2024-08-23 23:49:24 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
customCss: [
|
2024-12-16 02:21:38 +00:00
|
|
|
"./src/styles/style.css",
|
|
|
|
"./src/fonts/font-face.css"
|
2024-08-23 23:49:24 +00:00
|
|
|
]
|
|
|
|
})]
|
|
|
|
});
|