Skip to content

[docs] docs(engines): reduce bloat in AI engines reference#25010

Merged
pelikhan merged 1 commit intomainfrom
docs/unbloat-engines-ad92c2b33619ae94
Apr 7, 2026
Merged

[docs] docs(engines): reduce bloat in AI engines reference#25010
pelikhan merged 1 commit intomainfrom
docs/unbloat-engines-ad92c2b33619ae94

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Apr 7, 2026

Reduces redundancy in docs/src/content/docs/reference/engines.md (280 → 258 lines, −22 lines).

Changes

  • Removed duplicate code block: The "Enterprise API Endpoint" section contained an unlabeled code block identical to the immediately following "GHEC example" block. Removed the redundant intro block; the labeled examples now serve as the first illustration.

  • Version pinning table: Replaced 4 separate yaml wrap code blocks (one per engine) with a compact reference table plus a single illustrative example. The 4 blocks were structurally identical and only differed in id and version values.

  • Condensed Copilot Custom Configuration: The description was two paragraphs explaining the agent field. Condensed to one sentence with the .agent.md extension note moved inline as a code comment; link text shortened from "for details on creating and configuring custom agents" to "for details".

Metrics

Metric Before After
Lines 280 258
Reduction 22 lines (~7.9%)

Issues

Screenshots were unavailable: Playwright could not connect to the docs server due to network isolation between the agent container and Playwright container (known AWF network configuration constraint). The docs server was confirmed running and serving HTTP 200 via curl.

References: §24063066748

🗜️ Compressed by Documentation Unbloat · ● 570.6K ·

  • expires on Apr 9, 2026, 3:50 AM UTC

- Replace 4 separate version-pinning code blocks with a summary table
  and a single illustrative example; eliminates redundant boilerplate
- Remove duplicate GHEC api-target code block that was identical to the
  labeled GHEC example immediately below it
- Condense Copilot Custom Configuration section; move the .agent.md
  extension note inline as a code comment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added automation documentation Improvements or additions to documentation labels Apr 7, 2026
@pelikhan pelikhan marked this pull request as ready for review April 7, 2026 03:52
Copilot AI review requested due to automatic review settings April 7, 2026 03:52
@pelikhan pelikhan merged commit 114c435 into main Apr 7, 2026
1 check passed
@pelikhan pelikhan deleted the docs/unbloat-engines-ad92c2b33619ae94 branch April 7, 2026 03:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Reduces redundancy and overall length of the AI engines reference documentation by consolidating repeated examples and tightening explanatory text.

Changes:

  • Replaced four near-identical version pinning examples with a compact reference table plus a single example snippet.
  • Condensed the Copilot custom agent (engine.agent) explanation and embedded the extension detail inline.
  • Removed a duplicated, unlabeled Enterprise API Endpoint example block so the labeled examples are the first illustration.
Show a summary per file
File Description
docs/src/content/docs/reference/engines.md Consolidates repeated engine configuration examples and tightens prose to reduce doc bloat.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment on lines +64 to +67
| GitHub Copilot CLI | `copilot` | `"0.0.422"` |
| Claude Code | `claude` | `"2.1.70"` |
| Codex | `codex` | `"0.111.0"` |
| Gemini CLI | `gemini` | `"0.31.0"` |
Copy link

Copilot AI Apr 7, 2026

Choose a reason for hiding this comment

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

In the version pinning table, the Example version cells include backslashes (e.g., \"0.0.422\"). Inside inline code, quotes don’t need escaping, so the backslashes will render literally and look wrong. Remove the backslashes so the table shows the version string as "0.0.422" (without backslashes).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants