Skip to content

Clarify documentation requirement settings and rule interactions - #4322

Merged
AArnott merged 1 commit into
masterfrom
aarnott-internal-documentation-settings
Oct 16, 2026
Merged

AArnott merged 1 commit into
masterfrom
aarnott-internal-documentation-settings

Conversation

@AArnott

@AArnott AArnott commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

The configuration reference still says documentation settings affect only SA1600-SA1602, even though the missing-documentation exemptions discussed in #2361 are already implemented. This makes optional internal documentation appear more restrictive than it is.

Update the English, Czech, Russian, and Simplified Chinese references to list the affected missing-documentation rules and explain nested accessibility, interface settings, and private-field overrides. Clarify that supplied text still undergoes empty-tag, punctuation, and standard wording checks. No analyzer behavior changes; SA1612 is unchanged, and there is no analyzer performance impact.

Fixes #2361

Verification

  • Audited 48 settings combinations with both /// and /** */ comments across 13 analyzers. All 10,808 expected diagnostics matched by rule, source line, and multiplicity, with no compiler errors or analyzer exceptions.
  • Documentation-rule suites passed on the oldest and newest compiler test projects: 1,830 and 2,659 tests, respectively.
  • Source documentation localization checks passed, rule links resolve in all four editions, and git diff --check passed.

The audit found no remaining missing-documentation bug under the selected policy, so this is a documentation-only correction rather than a product fix.

Document the existing missing-documentation exemptions and distinguish them from validation of supplied text. Keep the English and localized configuration references aligned.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@AArnott
AArnott marked this pull request as ready for review October 16, 2026 14:12
Copilot AI balanced review requested due to automatic review settings October 16, 2026 14:12

Copilot AI 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.

🟢 Approval recommended

The documentation reflects existing analyzer behavior consistently across all four editions, with no unresolved findings.

0 open findings

What changed in this PR

Clarifies existing documentation requirements in four language editions, addressing the configuration confusion in #2361 without changing analyzer behavior.

Changes:

  • Lists additional missing-documentation rules affected by settings.
  • Explains accessibility, interface settings, and private-field overrides.
  • Clarifies which checks still apply to supplied documentation.
File Description
documentation/​zh-cn/​Configuration.md Updates the Simplified Chinese reference.
documentation/​ru-ru/​Configuration.md Updates the Russian reference.
documentation/​cs-cz/​Configuration.md Updates the Czech reference.
documentation/​Configuration.md Clarifies the English reference.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@AArnott
AArnott merged commit 8dc1343 into master Oct 16, 2026
30 checks passed
@AArnott
AArnott deleted the aarnott-internal-documentation-settings branch October 16, 2026 14:22
@codecov

codecov Bot commented Oct 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.63%. Comparing base (efb240f) to head (41216dc).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master    #4322    +/-   ##
========================================
  Coverage   97.63%   97.63%            
========================================
  Files        1320     1321     +1     
  Lines      144710   144864   +154     
  Branches     4872     4873     +1     
========================================
+ Hits       141282   141437   +155     
  Misses       2173     2173            
+ Partials     1255     1254     -1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This was referenced Nov 11, 2026
This was referenced Nov 21, 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.

Add option to ignore documentation errors on internal members and types

2 participants