Skip to content

Add diagnostics documentation for Mocha Analyzer#9473

Merged
PascalSenn merged 1 commit intomainfrom
pse/improve-moch-diagnostic-docs
Mar 29, 2026
Merged

Add diagnostics documentation for Mocha Analyzer#9473
PascalSenn merged 1 commit intomainfrom
pse/improve-moch-diagnostic-docs

Conversation

@PascalSenn
Copy link
Copy Markdown
Member

@PascalSenn PascalSenn commented Mar 28, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 28, 2026 13:11
@github-actions github-actions Bot added 📚 documentation This issue is about working on our documentation. 🌶️ website labels Mar 28, 2026
@PascalSenn PascalSenn changed the title Add diagnostics documentation for Mocha source generator Add diagnostics documentation for Mocha Analyzer Mar 28, 2026
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

Adds a dedicated Mocha v1 documentation page that centralizes Roslyn source-generator diagnostics (codes, causes, examples, fixes) and updates existing docs/navigation to reference it.

Changes:

  • Moved handler-registration “Analyzer diagnostics” content into a new /docs/mocha/v1/diagnostics reference page.
  • Updated troubleshooting links in handler-registration to point to the new diagnostics page/anchors.
  • Added “Diagnostics” to the Mocha v1 docs navigation.

Reviewed changes

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

File Description
website/src/docs/mocha/v1/handler-registration.md Removes embedded diagnostics section and links troubleshooting to the new diagnostics reference page.
website/src/docs/mocha/v1/diagnostics.md New comprehensive diagnostics reference covering mediator + messaging diagnostic codes with examples and fixes.
website/src/docs/docs.json Adds the Diagnostics page to the Mocha v1 sidebar/navigation.

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

Comment thread website/src/docs/mocha/v1/diagnostics.md
Comment thread website/src/docs/mocha/v1/diagnostics.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📚 documentation This issue is about working on our documentation. 🌶️ website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants