Skip to content

docs(website): standardize option type and default labels - #3939

Merged
SoonIter merged 1 commit into
mainfrom
soon-codex/standardize-option-docs
Dec 4, 2026
Merged

SoonIter merged 1 commit into
mainfrom
soon-codex/standardize-option-docs

Conversation

@SoonIter

@SoonIter SoonIter commented Dec 4, 2026

Copy link
Copy Markdown
Member

Motivation

The Twoslash docs put defaults in prose, unlike the AI config reference. Other English and Chinese pages also use inconsistent labels, making options harder to scan.

Changes

  • Use the AI config reference’s Type/Default layout for individual options and align existing labels across both locales.
  • Fill in missing types and defaults from the implementation, preserve existing heading anchors, and document the convention in AGENTS.md.

Validation: formatting and the full docs build passed. Verified that all three Twoslash options render with localized type and default labels in both languages.

Copilot AI balanced review requested due to automatic review settings December 4, 2026 09:03
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-12-04T09:03:58.134992Z
We couldn’t complete this review. Comment @codex review to try again.
91e0baf PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Rsdoctor Bundle Diff Analysis

Found 6 projects in monorepo, 4 projects with changes.

📊 Quick Summary
Project Total Size Gzip Size Change Gzip Change
website_html 17.1 MB 2.5 MB +18.5 KB (0.1%) +1.4 KB (0.1%)
website_js 18.5 MB 3.2 MB +25.9 KB (0.1%) +1.8 KB (0.1%)
website_md 2.3 MB 328.8 KB +5.8 KB (0.2%) +494.0 B (0.1%)
new_project_html 496.0 KB 109.2 KB 0 0
new_project_js 670.5 KB 210.1 KB 0 +14.0 B (0.0%)
new_project_md 18.6 KB 2.0 KB 0 0
📋 Detailed Reports (Click to expand)

📁 website_html

Path: website/doc_build/diff-rsdoctor/website_html/rsdoctor-data.json

📌 Baseline Commit: c129265ede43125652db73c2ee3dd52689b10b1a | PR: #3935

Metric Current Baseline Change
📊 Total Size 17.1 MB 17.1 MB +18.5 KB (0.1%)
🗜️ Gzip Size 2.5 MB 2.5 MB +1.4 KB (0.1%)
📄 JavaScript 0 B 0 B 0
🎨 CSS 0 B 0 B 0
🌐 HTML 17.1 MB 17.1 MB +18.5 KB (0.1%)
📁 Other Assets 0 B 0 B 0

📦 Download Diff Report: website_html Bundle Diff

📁 website_js

Path: website/doc_build/diff-rsdoctor/website_js/rsdoctor-data.json

📌 Baseline Commit: c129265ede43125652db73c2ee3dd52689b10b1a | PR: #3935

Metric Current Baseline Change
📊 Total Size 18.5 MB 18.5 MB +25.9 KB (0.1%)
🗜️ Gzip Size 3.2 MB 3.2 MB +1.8 KB (0.1%)
📄 JavaScript 18.1 MB 18.0 MB +25.5 KB (0.1%)
🎨 CSS 204.4 KB 204.4 KB 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 221.7 KB 221.3 KB +354.0 B (0.2%)

📦 Download Diff Report: website_js Bundle Diff

📁 website_md

Path: website/doc_build/diff-rsdoctor/website_md/rsdoctor-data.json

📌 Baseline Commit: c129265ede43125652db73c2ee3dd52689b10b1a | PR: #3935

Metric Current Baseline Change
📊 Total Size 2.3 MB 2.3 MB +5.8 KB (0.2%)
🗜️ Gzip Size 328.8 KB 328.4 KB +494.0 B (0.1%)
📄 JavaScript 0 B 0 B 0
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 2.3 MB 2.3 MB +5.8 KB (0.2%)

📦 Download Diff Report: website_md Bundle Diff

📁 new_project_js

Path: e2e/fixtures/auto-nav-sidebar/doc_build/diff-rsdoctor/new_project_js/rsdoctor-data.json

📌 Baseline Commit: c129265ede43125652db73c2ee3dd52689b10b1a | PR: #3935

Metric Current Baseline Change
📊 Total Size 670.5 KB 670.5 KB 0
🗜️ Gzip Size 210.1 KB 210.1 KB +14.0 B (0.0%)
📄 JavaScript 588.7 KB 588.7 KB 0
🎨 CSS 71.1 KB 71.1 KB 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 10.7 KB 10.7 KB 0

📦 Download Diff Report: new_project_js Bundle Diff

Generated by Rsdoctor GitHub Action

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rspress-v2 with  Cloudflare Pages  Cloudflare Pages

Latest commit: 91e0baf
Status: ✅  Deploy successful!
Preview URL: https://61186e39.rspress-v2.pages.dev
Branch Preview URL: https://soon-codex-standardize-optio.rspress-v2.pages.dev

View logs

@SoonIter
SoonIter merged commit e9bb309 into main Dec 4, 2026
7 of 8 checks passed
@SoonIter
SoonIter deleted the soon-codex/standardize-option-docs branch December 4, 2026 09:18
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.

2 participants