- Starlight documentation for mcnanovna and mcpositioner - 19 pages covering tools, prompts, hardware, and tutorials - Docker deployment with dev/prod modes - Makefile for docker compose management - Custom SVG logos and hero illustration
88 lines
2.7 KiB
JavaScript
88 lines
2.7 KiB
JavaScript
import { defineConfig } from 'astro/config';
|
|
import starlight from '@astrojs/starlight';
|
|
|
|
export default defineConfig({
|
|
site: 'https://mcnanovna.l.zmesh.systems',
|
|
telemetry: false,
|
|
devToolbar: { enabled: false },
|
|
integrations: [
|
|
starlight({
|
|
title: 'mcnanovna',
|
|
description: 'MCP servers for NanoVNA control and antenna positioner automation',
|
|
logo: {
|
|
dark: './src/assets/logo-dark.svg',
|
|
light: './src/assets/logo-light.svg',
|
|
replacesTitle: false,
|
|
},
|
|
social: {
|
|
github: 'https://git.supported.systems/rf/mcnanovna',
|
|
},
|
|
sidebar: [
|
|
{
|
|
label: 'Getting Started',
|
|
items: [
|
|
{ label: 'Introduction', slug: '' },
|
|
{ label: 'Quick Start', slug: 'getting-started/quickstart' },
|
|
{ label: 'Installation', slug: 'getting-started/installation' },
|
|
],
|
|
},
|
|
{
|
|
label: 'mcnanovna',
|
|
items: [
|
|
{ label: 'Overview', slug: 'mcnanovna/overview' },
|
|
{ label: 'Tool Reference', slug: 'mcnanovna/tools' },
|
|
{ label: 'Prompts', slug: 'mcnanovna/prompts' },
|
|
{ label: 'Web UI', slug: 'mcnanovna/webui' },
|
|
],
|
|
},
|
|
{
|
|
label: 'mcpositioner',
|
|
items: [
|
|
{ label: 'Overview', slug: 'mcpositioner/overview' },
|
|
{ label: 'Tool Reference', slug: 'mcpositioner/tools' },
|
|
{ label: 'Prompts', slug: 'mcpositioner/prompts' },
|
|
],
|
|
},
|
|
{
|
|
label: 'Hardware',
|
|
items: [
|
|
{ label: 'Positioner Build', slug: 'hardware/positioner-build' },
|
|
{ label: 'Wiring Diagram', slug: 'hardware/wiring' },
|
|
{ label: 'Firmware', slug: 'hardware/firmware' },
|
|
],
|
|
},
|
|
{
|
|
label: 'Tutorials',
|
|
items: [
|
|
{ label: '3D Pattern Measurement', slug: 'tutorials/pattern-measurement' },
|
|
{ label: 'VNA Calibration', slug: 'tutorials/calibration' },
|
|
{ label: 'Antenna Analysis', slug: 'tutorials/antenna-analysis' },
|
|
],
|
|
},
|
|
{
|
|
label: 'Reference',
|
|
items: [
|
|
{ label: 'HTTP API (ESP32)', slug: 'reference/http-api' },
|
|
{ label: 'Pattern Formats', slug: 'reference/pattern-formats' },
|
|
{ label: 'Ham Bands', slug: 'reference/ham-bands' },
|
|
],
|
|
},
|
|
],
|
|
customCss: ['./src/styles/custom.css'],
|
|
}),
|
|
],
|
|
vite: {
|
|
server: {
|
|
host: '0.0.0.0',
|
|
// Only configure HMR for reverse proxy when explicitly set
|
|
...(process.env.VITE_HMR_HOST && {
|
|
hmr: {
|
|
host: process.env.VITE_HMR_HOST,
|
|
protocol: 'wss',
|
|
clientPort: 443,
|
|
},
|
|
}),
|
|
},
|
|
},
|
|
});
|