i-k-bus-board/site/astro.config.mjs

46 lines
1.5 KiB
JavaScript

import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import mermaid from 'astro-mermaid';
export default defineConfig({
site: 'https://k-line.warehack.ing',
telemetry: false,
devToolbar: { enabled: false },
integrations: [
mermaid(),
starlight({
title: 'K-Line',
description: 'BMW I/K-Bus + OBD-II K-line interface for ESP32 with PC817 optocoupler isolation',
social: [
{ icon: 'seti:git', 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: 'Vehicle Compatibility', slug: 'reference/vehicle-compatibility' },
],
},
{
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' },
],
},
],
}),
],
});