Files
lucisv/docs/site/astro.config.mjs
lucioandClaude Fable 5.1 d4ec571958 MCP M5: lucisv-mcp ships in every platform vsix; the extension registers it with VS Code's agent mode; Agents guide
tools/release.sh builds -p lucisv_mcp for the host and every cross triple, stages lucisv-mcp[.exe] beside the two binaries (three per platform package, fifteen in the all-platforms one; the universal package still carries none), smoke-tests it (editors/vscode/mcp_smoke.js: initialize, tools/list ≥ 26, project_overview) loose and unzipped from the host and all-platforms packages; tools/audit_artifacts.sh audits the third name and rejects any other; prune_release_assets.sh unchanged (seven vsix names). editors/vscode/mcp.js: the three-rung binary ladder (lucisv.mcp.path → bundled → PATH), one McpStdioServerDefinition per workspace folder — the constructor is POSITIONAL (label, command, args, env, version) with cwd set afterwards; the plan's object form was wrong and is corrected — with `--root <folder> --index-cache <storage>`, refreshed on folder and setting changes, guarded so VS Code < 1.101 registers nothing but the command; a missing binary refused at resolve time with one output-channel line; the `lucisv.mcp.copyConfig` command puts the Claude Code / Cursor / VS Code snippet on the clipboard. package.json: contributes.mcpServerDefinitionProviders, lucisv.mcp.enabled/path, the command; engine stays ^1.82.0 (vsce 4 accepts). ci.yml runs node --test over the extension's unit tests. Docs: docs/site guides/agents.md with the tool table generated from the binary (site rebuilt), README paragraph, RELEASING.md, extension README/CHANGELOG (Unreleased), manual-acceptance rows 18–25 for the live-VS Code checks.

QA (Opus): API signature confirmed against VS Code 1.138's vscode.d.ts; 8 mutation checks caught by mcp_test.js; release.sh run end to end, vsix contents listed (three binaries, mcp.js, no test files), SHA256SUMS verified, the embedded binary smoke-tested, the vsix installed into an isolated profile. Gates: node --test 6/6, fmt clean.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-23 15:59:07 -07:00

62 lines
3.0 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: 'Agents (MCP)', slug: 'guides/agents' },
{ 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
})
]
});