Skip to content

feat(cli): expose claude-code under docs.yml page-actions config#15322

Merged
thesandlord merged 7 commits intomainfrom
anar/fer-9336-nvidia-docs-mcp-server-copy-pasta-issues
Apr 24, 2026
Merged

feat(cli): expose claude-code under docs.yml page-actions config#15322
thesandlord merged 7 commits intomainfrom
anar/fer-9336-nvidia-docs-mcp-server-copy-pasta-issues

Conversation

@kafkas
Copy link
Copy Markdown
Member

@kafkas kafkas commented Apr 24, 2026

Description

Linear ticket: Refs FER-9336

Adds claude-code to the page-actions config in docs.yml so docs sites can explicitly control the "Connect to Claude Code" button. This also fixes the docs.yml documentation to reflect the actual default behavior for the AI-related page actions that are currently enabled unless explicitly set to false.

Changes Made

  • Add claude-code to the docs.yml API definition, parser, resolver, and generated schemas/types
  • Allow docs sites to use page-actions.options.claude-code and page-actions.default: claude-code
  • Update docs.yml docs for chatgpt, claude, cursor, and claude-code to match their real default behavior

Testing

  • Unit tests added/updated
  • Manual testing completed

@kafkas kafkas requested a review from amckinney as a code owner April 24, 2026 09:24
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@github-actions
Copy link
Copy Markdown
Contributor

🌱 Seed Test Selector

Select languages to run seed tests for:

  • Python
  • TypeScript
  • Java
  • Go
  • Ruby
  • C#
  • PHP
  • Swift
  • Rust
  • OpenAPI

How to use: Click the ⋯ menu above → "Edit" → check the boxes you want → click "Update comment". Tests will run automatically and snapshots will be committed to this PR.

@kafkas kafkas changed the title feat(cli): expose claude-code under docs page-actions config feat(cli): expose claude-code under docs.yml page-actions config Apr 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

SDK Generation Benchmark Results

Comparing PR branch against median of 5 nightly run(s) on main (latest: 2026-04-23T04:59:11Z).

Full benchmark table (click to expand)
Generator Spec main (generator) main (E2E) PR (generator) Delta
csharp-sdk square 56s (n=5) 86s (n=5) 52s -4s (-7.1%)
go-sdk square 115s (n=5) 132s (n=5) 115s +0s (+0.0%)
java-sdk square 179s (n=5) 207s (n=5) 186s +7s (+3.9%)
php-sdk square 43s (n=5) 66s (n=5) 41s -2s (-4.7%)
python-sdk square 115s (n=5) 223s (n=5) 121s +6s (+5.2%)
ruby-sdk-v2 square 130s (n=5) 159s (n=5) 127s -3s (-2.3%)
rust-sdk square 166s (n=5) 163s (n=5) 173s +7s (+4.2%)
swift-sdk square 41s (n=5) 290s (n=5) 38s -3s (-7.3%)
ts-sdk square 74s (n=5) 86s (n=5) 68s -6s (-8.1%)

main (generator): generator-only time via --skip-scripts (includes Docker image build, container startup, IR parsing, and code generation — this is the same Docker-based flow customers use via fern generate). main (E2E): full customer-observable time including build/test scripts (nightly baseline, informational). Delta is computed against generator-only baseline.
⚠️ = generation exited with a non-zero exit code (timing may not reflect a successful run).
Baseline from nightly runs on main (latest: 2026-04-23T04:59:11Z). Trigger benchmark-baseline to refresh.
Last updated: 2026-04-24 09:45 UTC

@github-actions
Copy link
Copy Markdown
Contributor

Docs Generation Benchmark Results

Comparing PR branch against median of 5 nightly run(s) on main (latest: 2026-04-23T04:59:11Z).

Fixture main PR Delta
docs 301.0s (n=5) 320.1s (35 versions) +19.1s (+6.3%)

Docs generation runs fern generate --docs --preview end-to-end against the benchmark fixture with 35 API versions (each version: markdown processing + OpenAPI-to-IR + FDR upload).
Delta is computed against the nightly baseline on main.
Baseline from nightly run(s) on main (latest: 2026-04-23T04:59:11Z). Trigger benchmark-baseline to refresh.
Last updated: 2026-04-24 09:46 UTC

@thesandlord thesandlord merged commit 88ab8ce into main Apr 24, 2026
211 of 212 checks passed
@thesandlord thesandlord deleted the anar/fer-9336-nvidia-docs-mcp-server-copy-pasta-issues branch April 24, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants