Files
lucisv/docs/site/astro.config.mjs
Guoliang ChenandClaude Mythos 5.2 71d13b5fbe
ci / checks (push) Successful in 1m0s
ci / corpus (push) Successful in 18s
ci / linux (push) Successful in 6m4s
release / build-and-publish (push) Successful in 5m31s
Release 0.66.2: every source file names its author
Every tracked file that can carry a comment (880 of them) now opens with
"Author: Guoliang Chen, a Senior Digital Design Engineer" and closes with
"Author: Guoliang Chen. Lucisv is made by Guoliang Chen with love,
luciochen.com", in the file's own comment syntax. No behaviour change: the
diff outside the version bump and changelogs is comment lines only.

- tools/stamp_author.py: writes the lines; idempotent, `--check` lists
  what is missing. Headers go under a shebang and under Markdown front
  matter.
- Left alone: test fixtures, cases and snapshots (byte-exact inputs), JSON
  and JSONL, logs, images, lockfiles, docs/site/dist (regenerated) and the
  LICENSE files (already carry the copyright line).
- tools/linux_check.sh: --help reads its header from line 3, now that the
  author line sits under the shebang.
- tools/gates.sh green on this tree: 5 545 tests, corpus 814/6 as before.

Co-Authored-By: Claude Mythos 5.2 <[email protected]>
2026-11-24 12:11:09 -08:00

66 lines
3.1 KiB
JavaScript

// Author: Guoliang Chen, a Senior Digital Design Engineer
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
})
]
});
// Author: Guoliang Chen. Lucisv is made by Guoliang Chen with love, luciochen.com