generated from nhcarrigan/template
### Explanation Right now there are still links to Codeberg that go nowhere. That's kind of an issue when you want to make a quick peek at the source code behind such an awesome website. ### Issue Related to #6 ### Attestations - [x] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/) - [x] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/). - [x] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/). ### Dependencies - [x] I have pinned the dependencies to a specific patch version. ### Style - [x] I have run the linter and resolved any errors. - [x] My pull request uses an appropriate title, matching the conventional commit standards. - [x] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request. ### Tests - [x] My contribution adds new code, and I have added tests to cover it. - [x] My contribution modifies existing code, and I have updated the tests to reflect these changes. - [x] All new and existing tests pass locally with my changes. - [x] Code coverage remains at or above the configured threshold. ### Documentation _No response_ ### Versioning Patch - My pull request introduces bug fixes ONLY. Reviewed-on: #7 Reviewed-by: Naomi Carrigan <accounts@nhcarrigan.com> Co-authored-by: Anna <a.rcottrill521@gmail.com> Co-committed-by: Anna <a.rcottrill521@gmail.com>
69 lines
2.0 KiB
JavaScript
69 lines
2.0 KiB
JavaScript
import { defineConfig } from 'astro/config';
|
|
import starlight from "@astrojs/starlight";
|
|
|
|
import { navigation } from "./src/components/navigation.ts";
|
|
|
|
export default defineConfig({
|
|
site: "https://docs.nhcarrigan.com",
|
|
integrations: [starlight({
|
|
components: {
|
|
Footer: "./src/components/Footer.astro",
|
|
ThemeSelect: "./src/components/ThemeSelect.astro",
|
|
ThemeProvider: "./src/components/ThemeProvider.astro",
|
|
},
|
|
title: "NHCarrigan Docs",
|
|
sidebar: navigation,
|
|
tableOfContents: { minHeadingLevel: 2, maxHeadingLevel: 4},
|
|
description: "This site contains all of the documentation related to NHCarrigan, its Policies, and its Projects.",
|
|
editLink: {
|
|
baseUrl: "https://git.nhcarrigan.com/nhcarrigan/docs/_edit/main/",
|
|
label: "Edit this page on Naomi's Self-hosted Git instance"
|
|
},
|
|
lastUpdated: true,
|
|
social: {
|
|
github: "https://git.nhcarrigan.com",
|
|
discourse: "https://forum.nhcarrigan.com",
|
|
mastodon: "https://fedi.nhcarrigan.com/@naomi",
|
|
matrix: "https://matrix.nhcarrigan.com",
|
|
rss: "https://irc.nhcarrigan.com",
|
|
email: "mailto:contact@nhcarrigan.com"
|
|
},
|
|
head: [
|
|
{
|
|
tag: "script",
|
|
attrs: {
|
|
type: "text/javascript",
|
|
id: "analytics",
|
|
src: "https://analytics.nhcarrigan.com/js/script.file-downloads.outbound-links.js",
|
|
defer: true,
|
|
"data-domain": "nhcarrigan.com"
|
|
}
|
|
},
|
|
{
|
|
tag: "script",
|
|
content: "window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }"
|
|
},
|
|
{
|
|
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
|
|
}
|
|
},
|
|
{
|
|
tag: "link",
|
|
attrs: {
|
|
rel: "icon",
|
|
href: "/logo.png"
|
|
}
|
|
}
|
|
],
|
|
customCss: [
|
|
"./src/styles/style.css",
|
|
"./src/fonts/font-face.css"
|
|
],
|
|
})]
|
|
});
|