i-k-bus-board/site/astro.config.mjs
Ryan Malloy c32e62cf1d Add Starlight docs site for k-line.warehack.ing
Astro/Starlight documentation site with 8 content pages:
- Circuit design (SPICE validation, R2 sweep data, K-line compat)
- Firmware architecture (composition diagram, concurrency model)
- BMW I/K-Bus protocol (message format, module addresses)
- OBD-II K-line protocol (init sequences, PID decode formulas)
- Bill of materials
- Getting started guide
- Development journal (4-session engineering log)

Docker deployment: multi-stage build (Node builder + Caddy static),
caddy-docker-proxy labels, Makefile for management.
2026-02-13 07:06:52 -07:00

43 lines
1.3 KiB
JavaScript

import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
export default defineConfig({
site: 'https://k-line.warehack.ing',
telemetry: false,
devToolbar: { enabled: false },
integrations: [
starlight({
title: 'AutoWire',
description: 'BMW I/K-Bus + OBD-II K-line interface for ESP32 with PC817 optocoupler isolation',
social: [
{ icon: 'codeberg', label: 'Source', href: 'https://git.supported.systems/warehack.ing/i-k-bus-board' },
],
customCss: ['./src/styles/custom.css'],
sidebar: [
{
label: 'Hardware',
items: [
{ label: 'Circuit Design', slug: 'reference/circuit-design' },
{ label: 'Bill of Materials', slug: 'reference/bom' },
],
},
{
label: 'Firmware',
items: [
{ label: 'Architecture', slug: 'reference/architecture' },
{ label: 'Getting Started', slug: 'guides/getting-started' },
{ label: 'BMW I/K-Bus Protocol', slug: 'reference/ibus-protocol' },
{ label: 'OBD-II K-line Protocol', slug: 'reference/obd2-protocol' },
],
},
{
label: 'Journal',
items: [
{ label: 'Development Log', slug: 'guides/development-journal' },
],
},
],
}),
],
});