Skip to content

More incremental improvements to JSDocs #7619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 27, 2025
Merged

More incremental improvements to JSDocs #7619

merged 1 commit into from
Apr 27, 2025

Conversation

willeastcott
Copy link
Contributor

  • Expand on several class descriptions (better inter-docs linking).
  • Ensure @typedef descriptions occur after tag to ensure they appear in the generated docs.

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@willeastcott willeastcott added docs Documentation related enhancement labels Apr 27, 2025
@willeastcott willeastcott self-assigned this Apr 27, 2025
Copy link
Contributor

@Copilot 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

This PR makes incremental improvements to the JSDocs across various modules in the codebase for enhanced clarity and better doc generation.

  • Improved JSDoc tags for callbacks and class descriptions.
  • Updated type annotations to better reflect possible null values.
  • Enhanced typedef documentation for rendering effects.

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/scene/materials/standard-material.js Reordered callback JSDoc comment to improve docs output.
src/platform/sound/sound.js Clarified audio data description in the module docs.
src/framework/xr/xr-manager.js Updated callback and class docs; refined type annotation.
src/framework/components/sound/system.js Improved volume property documentation.
src/framework/components/sound/slot.js Expanded SoundSlot description with multi-slot detail.
src/framework/components/scrollbar/data.js Updated type to include null for the handleEntity field.
src/extras/render-passes/camera-frame.js Reworked typedef comments for various rendering effects.
src/core/tags.js Enhanced Tags module documentation with detailed usage.
src/core/shape/tri.js Added vector details to triangle description.

@willeastcott willeastcott merged commit e378645 into main Apr 27, 2025
7 checks passed
@willeastcott willeastcott deleted the better-jsdocs branch April 27, 2025 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant