Skip to content

[docs] Document aspire render debug command and links scenario#1358

Closed
IEvangelist wants to merge 1 commit into
release/13.5from
docs/render-command-links-scenario-17106-21880785006d29d7
Closed

[docs] Document aspire render debug command and links scenario#1358
IEvangelist wants to merge 1 commit into
release/13.5from
docs/render-command-links-scenario-17106-21880785006d29d7

Conversation

@IEvangelist

Copy link
Copy Markdown
Member

Supersedes #970.

This replacement targets
elease/13.5 because the original
elease/13.4 base branch no longer exists on microsoft/aspire.dev.

Documents changes from microsoft/aspire#17106

Author: @JamesNK

Target branch

Targeting release/13.4 based on the source PR milestone 13.4 (exact match on microsoft/aspire.dev).

Why this PR is needed

microsoft/aspire#17106 modified src/Aspire.Cli/Commands/RenderCommand.cs (triggering cli_command_file_changed) and includes a ### User-facing usage section and --scenario links flag mention (pr_body_has_user_facing_section, pr_body_has_cli_flag_mention). The aspire render command had no prior documentation on aspire.dev.

The change adds a links scenario to the hidden, debug-only aspire render command. This scenario allows CLI contributors to smoke test terminal hyperlink rendering — both MarkupHelpers.SafeLink (clickable URLs) and MarkupHelpers.SafeFileLink (clickable file-system paths, including paths with spaces).

Documentation changes

  • New page: src/frontend/src/content/docs/reference/cli/commands/aspire-render.mdx
    • Documents the hidden aspire render debug command with a prominent caution note that it is for CLI contributors/maintainers only
    • Lists all available scenarios including the new links scenario
    • Shows example output for the links scenario
  • Updated: src/frontend/src/content/docs/whats-new/aspire-13-4.mdx
    • Adds a bullet noting the new links scenario for the aspire render debug command

Note

The aspire render command is hidden from end users and only available in debug builds. The SME reviewer should confirm whether this reference page is appropriate for the public docs site, or whether it should be closed as an internal-only change.

Generated by PR Documentation Check for issue #17106 · ● 19.9M ·

Copilot AI review requested due to automatic review settings July 12, 2026 05:59
@IEvangelist
IEvangelist requested a review from mitchdenny as a code owner July 12, 2026 05:59
@IEvangelist IEvangelist added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Jul 12, 2026
@IEvangelist
IEvangelist requested a review from JamesNK July 12, 2026 05:59

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.

Pull request overview

Adds public documentation for the hidden, debug-only aspire render CLI command (including the new links scenario) and mentions the scenario in the Aspire 13.4 release notes.

Changes:

  • Added a new CLI reference page for aspire render, including scenarios and an example for --scenario links.
  • Updated the Aspire 13.4 “What’s new” page to note the new links scenario.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/frontend/src/content/docs/reference/cli/commands/aspire-render.mdx New reference page documenting the hidden aspire render debug command and scenarios.
src/frontend/src/content/docs/whats-new/aspire-13-4.mdx Adds a release-note bullet for the new links scenario.

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

Comment on lines +38 to +46
- **`--scenario <scenario>`**

Run a specific rendering scenario non-interactively and exit. If omitted, the command
enters the interactive scenario selector.

- **`--console-width <width>`**

Override the detected console width used when rendering. Useful for testing how output
wraps at specific widths.

## Scenarios

The following rendering scenarios are available in debug builds:
## Synopsis

```bash title="Aspire CLI"
aspire render [--scenario <scenario>] [--console-width <width>]
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1358. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1358 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

@IEvangelist

Copy link
Copy Markdown
Member Author

⚠️ CI Failure: Missing topic configuration for �spire-render page

The frontend-build CI check is failing due to a content issue introduced by this PR:

AstroUserError: Failed to find the topic for the 'reference/cli/commands/aspire-render' page.

This PR adds a new CLI reference page for �spire render, but the page's topic entry is missing from the site's topic/navigation configuration. This CI failure is caused by the changes in this PR and will persist until the topic configuration is updated.

Action required: Please add the �spire-render page to the appropriate topic configuration file (likely in the site's nav/topics config) so the build can find its topic entry.

cc @JamesNK

@IEvangelist

Copy link
Copy Markdown
Member Author

CI has been retriggered multiple times and is still failing on the current PR head. This looks likely to be caused by changes in this PR rather than transient infra flakiness.

@IEvangelist

Copy link
Copy Markdown
Member Author

CI Failure: Missing Topic Entry for \�spire-render\ CLI Reference Page

The frontend build is failing with:

\
AstroUserError: Failed to find the topic for the
eference/cli/commands/aspire-render\ page.
\\

The PR adds a new CLI reference page at
eference/cli/commands/aspire-render\ but there is no corresponding topic entry in the site's navigation/topic configuration. A topic entry needs to be added so the page is discoverable and the build succeeds.

Please add the appropriate topic entry for the \�spire render\ CLI reference page to fix this CI failure.

@IEvangelist

Copy link
Copy Markdown
Member Author

CI has already been retriggered multiple times (latest attempt: 4) and is still failing on Frontend Build. This appears to be caused by the current PR changes rather than a transient runner issue, so this PR likely needs an update before another rerun.

@IEvangelist

Copy link
Copy Markdown
Member Author

CI has been retriggered several times and is still failing due to changes in this PR. This likely needs PR-content fixes before CI will pass consistently.

@IEvangelist

Copy link
Copy Markdown
Member Author

[docs-from-code-automation] repeated CI failure note posted

CI has been retriggered multiple times for this PR and the failures continue on the same changeset. This likely needs a PR-side fix rather than another rerun.

@IEvangelist

Copy link
Copy Markdown
Member Author

We've retriggered CI multiple times (latest run attempt: 15), and it's still failing in CI (frontend-build / Frontend Build, ci-gate). The repeated failure is in frontend build/ci-gate, which appears to be introduced by this PR changeset.

Could someone update this PR to address the failing check directly?

@IEvangelist

Copy link
Copy Markdown
Member Author

CI has been retriggered multiple times and appears to be failing due to changes in this PR. Please review the failing jobs and address the PR changes causing the failures.

@IEvangelist

Copy link
Copy Markdown
Member Author

CI has been retriggered multiple times and is still failing on this PR. This likely requires changes in the PR content rather than another rerun.

@IEvangelist

Copy link
Copy Markdown
Member Author

We've retriggered CI multiple times on this PR, and failures have persisted. This appears to be caused by the current PR changes rather than a transient CI issue, so this PR likely needs an update to resolve the failing checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants