Skip to content

docs: Redesign public docs with Starlight#63

Merged
dcramer merged 3 commits into
mainfrom
ref/docs-redesign
May 20, 2026
Merged

docs: Redesign public docs with Starlight#63
dcramer merged 3 commits into
mainfrom
ref/docs-redesign

Conversation

@dcramer
Copy link
Copy Markdown
Member

@dcramer dcramer commented May 19, 2026

Redesign the public docs around Starlight and a harness-first documentation flow. The docs now route readers to the right harness, then carry a consistent Paris example through app shape, harness configuration, evals, and judges.

Starlight Docs

Move docs and generated API pages into Starlight with a local monochrome theme, reusable docs writing policy, and structured harness and judge templates.

Code Block Styling

Normalize code block chrome with borderless high-contrast backgrounds, single-dot terminal headers, hidden untitled titlebars, and centered borderless copy controls.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vitest-evals-docs Ready Ready Preview, Comment May 20, 2026 3:25pm

Request Review

dcramer and others added 3 commits May 20, 2026 08:11
Move the public docs onto Starlight with a reusable local theme, generated API reference pages, and structured docs content.

Rework the docs narrative around choosing a harness and following the Paris eval example through app shape, harness configuration, and judging. Tighten code block chrome, copy controls, and monochrome docs styling for the long-term documentation site.

Co-Authored-By: OpenAI Codex <codex@openai.com>
@dcramer dcramer marked this pull request as ready for review May 20, 2026 15:22
@dcramer dcramer force-pushed the ref/docs-redesign branch from dee91bd to 19c5649 Compare May 20, 2026 15:25
}),
],
}),
mdx(),
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The explicit mdx() integration in astro.config.mjs is redundant because starlight() already provides MDX support, which could cause build conflicts or warnings.
Severity: LOW

Suggested Fix

Remove the explicit mdx() call from the integrations array in astro.config.mjs. Rely on the built-in MDX support provided by the starlight integration, which is sufficient for the project's needs.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: packages/docs/astro.config.mjs#L102

Potential issue: The Astro configuration file `astro.config.mjs` includes both the
`starlight()` and `mdx()` integrations. The `starlight` integration handles MDX
processing internally, making the explicit inclusion of the `mdx()` integration
redundant. This configuration follows a pattern that can lead to build-time warnings or
conflicts related to initialization order, even if modern versions of Astro might handle
it silently. Since all MDX content is managed by Starlight's content loader, the
separate `mdx()` integration is unnecessary and should be removed to follow best
practices and avoid potential issues.

Did we get this right? 👍 / 👎 to inform future reviews.

Comment thread packages/docs/public/llms.txt
@dcramer dcramer merged commit 895ce05 into main May 20, 2026
16 checks passed
@dcramer dcramer deleted the ref/docs-redesign branch May 20, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant