Skip to content

Enable XML doc generation for API reference docs#373

Merged
mattleibow merged 4 commits intomainfrom
copilot/investigate-api-docs-issue
Mar 4, 2026
Merged

Enable XML doc generation for API reference docs#373
mattleibow merged 4 commits intomainfrom
copilot/investigate-api-docs-issue

Conversation

Copy link
Contributor

Copilot AI commented Mar 3, 2026

DocFX API pages were empty shells — types and methods listed but zero descriptions, summaries, or parameter docs. Two root causes:

  1. GenerateDocumentationFile was never enabled, so no .xml files were emitted alongside DLLs
  2. No XML doc comments (/// <summary>) existed anywhere in the source

Changes

  • source/Directory.Build.props — Enable GenerateDocumentationFile for all projects
  • SkiaSharp.Extended (6 files) — Add XML doc comments to all public types/members: SKBlurHash, SKPixelComparer, SKPixelComparisonResult, SKGeometry, SKGeometryExtensions, SKPathInterpolation
  • SkiaSharp.Extended.UI.Maui (30 files) — Add XML doc comments to all public types/members: confetti controls, Lottie controls, base surface views, type converters, enums, collections

Both projects now build with zero CS1591 warnings. DocFX metadata generation picks up the XML files and populates API pages with summaries, parameter descriptions, return types, and exception documentation.

<!-- Before: empty API page -->
<div class="markdown summary"></div>

<!-- After: populated from XML docs -->
<div class="markdown summary">
  Provides methods to encode and decode BlurHash strings,
  a compact representation of image placeholders.
</div>

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • mono.github.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits March 3, 2026 23:21
…aSharp.Extended core library

Add /// <summary>, /// <param>, /// <returns>, and /// <exception> XML doc
comments to all public classes, methods, properties, and constructors in:
- SKBlurHash
- SKPixelComparer
- SKPixelComparisonResult
- SKGeometry
- SKGeometryExtensions
- SKPathInterpolation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com>
…aSharp.Extended.UI.Maui

Add XML doc comments (/// <summary>, /// <param>, /// <returns>) to all public
classes, structs, enums, properties, methods, constructors, fields, and events
in the SkiaSharp.Extended.UI.Maui project to eliminate CS1591 warnings.

Files documented:
- Base controls: SKSurfaceView, SKAnimatedSurfaceView, StringTypeConverter
- Confetti controls: SKConfettiView, SKConfettiSystem, SKConfettiEmitter,
  SKConfettiEmitterBounds, SKConfettiPhysics, SKConfettiShape (and subtypes),
  all collection types and type converters
- Lottie controls: SKLottieView, SKLottieAnimation, SKLottieImageSource
  (and subtypes), event args, type converters
- Resource dictionaries: SKSurfaceViewResources, SKConfettiViewResources,
  SKLottieViewResources
- Enums: SKConfettiEmitterSide, SKLottieRepeatMode

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI changed the title [WIP] Investigate missing API documentation Enable XML doc generation for API reference docs Mar 3, 2026
github-actions bot pushed a commit that referenced this pull request Mar 4, 2026
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

📖 Documentation Preview

The documentation for this PR has been deployed and is available at:

🔗 View Staging Documentation

🔗 View Staging Blazor Sample

This preview will be updated automatically when you push new commits to this PR.


This comment is automatically updated by the documentation staging workflow.

@mattleibow mattleibow marked this pull request as ready for review March 4, 2026 00:06
@mattleibow mattleibow merged commit 72c04db into main Mar 4, 2026
4 of 5 checks passed
@mattleibow mattleibow deleted the copilot/investigate-api-docs-issue branch March 4, 2026 00:07
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.

2 participants