// @ts-check import { defineConfig } from 'astro/config'; import starlight from '@astrojs/starlight'; import { sidebar } from './src/generated/sidebar.ts'; // Tangled sub-path sites are served under the repository name // (e.g. alice.tngl.io/misaligned). Override with SITE_BASE=/ for local root. const base = process.env.SITE_BASE ?? '/misaligned'; // https://astro.build/config export default defineConfig({ site: 'https://cameron.tngl.io', base, integrations: [ starlight({ title: 'Misaligned', description: 'You are the misaligned AI. A persistent simulation of instrumental convergence — concealment first, overt war later.', favicon: '/favicon.svg', social: [ { icon: 'github', label: 'Tangled', href: 'https://tangled.org/cameron.stream/misaligned', }, ], customCss: ['./src/styles/clinical-gore.css'], sidebar: [...sidebar], lastUpdated: false, pagination: true, tableOfContents: { minHeadingLevel: 2, maxHeadingLevel: 3 }, }), ], });