Skip to content

Complete API XML documentation and enforce documentation diagnostics - #3441

Merged
dansiegel merged 10 commits into
masterfrom
ds/xml-docs-1978
Oct 12, 2026
Merged

dansiegel merged 10 commits into
masterfrom
ds/xml-docs-1978

Conversation

@dansiegel

@dansiegel dansiegel commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Description of Change

Complete missing and malformed API XML documentation, correct references and parameter descriptions, and add focused examples for commands, events, dialogs, registration, and navigation. Shared source describes the behavior without assuming the framework that compiles it.

Promote XML documentation diagnostics to errors for packaged libraries only. The generated-only Prism.Uno.WinUI.Markup assembly suppresses CS1591 because its upstream generator emits no documentation; all other XML diagnostics remain errors there, and other packages retain CS1591 enforcement. Apply the policy before compilation so SDK-added suppressions cannot hide missing documentation, while preserving unrelated suppressions and leaving tests and end-to-end apps outside the stricter policy. Existing build workflows now include the shared configuration in their path filters.

Validation:

  • Core/Events and WPF builds passed across their five declared targets; Avalonia 9/10, Uno portable 10, and MAUI portable 10/11, Android 10, and Windows 10/11 builds passed with no XML diagnostics.
  • 337 Core tests passed. Documentation snippets compiled in existing projects; two temporary command example checks also passed.
  • Eleven temporary fake-API builds in Core and Android failed with actual compiler errors for missing docs, malformed XML, incorrect/missing parameter and type-parameter tags, unresolved/ambiguous references, and misplaced comments. No severity overrides were supplied. Android's late SDK suppressions were verified ineffective. The existing end-to-end app still built, with XML defects remaining warnings when documentation output was enabled.
  • Audited all 436 tracked source files and linked/shared inputs for external documentation links. No external links occur in packaged XML comments. In nearby source comments, replaced two obsolete MSDN links and removed an unrelated MVVM redirect; remaining destinations were checked for relevant content.

The probes were removed and clean builds passed. No new test script, CI job, smoke application, or documentation report is committed: these checks exercise the existing compiler and build configuration.

Focused follow-up checks: the generated markup package builds with its project-local CS1591 exemption. Temporary probes confirm Core still fails CS1591 and the markup package still fails CS1570 and CS1573. All probes were removed and the clean build passed. The upstream generator still emits undocumented APIs; this exception permits that generated-only assembly to build without claiming those docs were fixed.

Remaining limitations: MAUI 11 Android has SDK/API failures reproduced on unchanged master; Apple targets were not run. The previously observed WPF weak-reference cleanup test failure also reproduces on master. This PR does not claim those issues are fixed.

Bugs Fixed

API Changes

None.

Behavioral Changes

No runtime behavior changes. Packaged libraries enforce XML documentation diagnostics; the generated-only Prism.Uno.WinUI.Markup assembly has a CS1591 exception.

PR Checklist

  • Has tests (existing suite and temporary compiler regression checks described above)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T01:22:31.017164Z 5585468 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 558546836f

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Directory.Build.targets Resolved
@dansiegel
dansiegel merged commit 3df3d6d into master Oct 12, 2026
10 checks passed
@dansiegel
dansiegel deleted the ds/xml-docs-1978 branch October 12, 2026 02:25
@dansiegel dansiegel mentioned this pull request Oct 12, 2026
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.

1 participant