Files
lucisv/docs/site/astro.config.mjs
T
lucioandClaude Fable 5.1 f6f18de10d docs: repository analysis audit at v0.41.0 — README architecture, topo facts (codec 17, handshakes 26–28), site guides and rebuilt dist
Written by the owner's audit process on 2026-09-04; committed by the lead
unchanged. Findings 1–3 are planned as TODO §41–§43.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-04 23:37:55 -05:00

61 lines
2.9 KiB
JavaScript

import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
export default defineConfig({
site: 'https://lucisv.dev',
output: 'static',
integrations: [
starlight({
title: 'lucisv',
description: 'Fast, deterministic formatting, linting, and language intelligence for Verilog and SystemVerilog.',
favicon: '/favicon.png',
social: [
{ icon: 'github', label: 'Source repository', href: 'https://git.luci.ooo/lucio/verilogrustformatter' }
],
customCss: ['./src/styles/custom.css'],
head: [
{ tag: 'meta', attrs: { name: 'theme-color', content: '#07111f' } },
{ tag: 'meta', attrs: { property: 'og:site_name', content: 'lucisv documentation' } },
{ tag: 'meta', attrs: { property: 'og:image', content: 'https://lucisv.dev/og.png' } },
{ tag: 'meta', attrs: { property: 'og:image:width', content: '1200' } },
{ tag: 'meta', attrs: { property: 'og:image:height', content: '630' } },
{ tag: 'meta', attrs: { property: 'og:image:alt', content: 'lucisv — Verilog tooling that stays out of your way.' } },
{ tag: 'meta', attrs: { name: 'twitter:card', content: 'summary_large_image' } },
{ tag: 'meta', attrs: { name: 'twitter:image', content: 'https://lucisv.dev/og.png' } },
{ tag: 'script', attrs: { type: 'application/ld+json' }, content: JSON.stringify({
'@context': 'https://schema.org',
'@type': 'SoftwareApplication',
name: 'lucisv',
applicationCategory: 'DeveloperApplication',
operatingSystem: 'macOS, Linux, Windows',
license: 'https://opensource.org/licenses/MIT',
description: 'A fast Verilog and SystemVerilog formatter, linter, and language server written in Rust.',
codeRepository: 'https://git.luci.ooo/lucio/verilogrustformatter'
}) }
],
sidebar: [
{ label: 'Start here', items: [
{ label: 'Overview', slug: '' },
{ label: 'Quick start', slug: 'start/quick-start' },
{ label: 'Configuration', slug: 'start/configuration' }
] },
{ label: 'Use lucisv', items: [
{ label: 'Formatter', slug: 'guides/formatter' },
{ label: 'Linter', slug: 'guides/linter' },
{ label: 'Editors & LSP', slug: 'guides/editors' },
{ label: 'Supported syntax', slug: 'guides/syntax' }
] },
{ label: 'Reference', items: [
{ label: 'CLI', slug: 'reference/cli' },
{ label: 'Lint rules', slug: 'reference/rules' },
{ label: 'Language tools', slug: 'reference/language-tools' },
{ label: 'Rust API index', slug: 'reference/rust-api' },
{ label: 'Architecture', slug: 'reference/architecture' }
] }
],
editLink: { baseUrl: 'https://git.luci.ooo/lucio/verilogrustformatter/src/branch/master/docs/site/' },
lastUpdated: true
})
]
});