Skip to content
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

Fix broken JsDoc comments #7114

Merged
merged 2 commits into from
Jul 9, 2024
Merged

Fix broken JsDoc comments #7114

merged 2 commits into from
Jul 9, 2024

Conversation

Orasund
Copy link
Contributor

@Orasund Orasund commented Jul 7, 2024

Background:

I want to write a p5.js Wrapper using the JSDocs for type definitions. I'm using jsdoc-to-markdown to parse the files. However, this only works if the files contain valid JsDoc annotations.

Changes:

  • src/color/p5.Color.js - removed duplicated @example annotation
  • src/math/random.js - removed empty @example annotation
  • src/webgl/material.js - removed additional ]
  • src/webgl/p5.Quat.js - removed empty @returns annotation
  • src/webgl/p5.RendererGL.Immediate.js - replaced Array[Number] with Number[]

PR Checklist

  • npm run lint passes
  • [Inline documentation] is included / updated
  • [Unit tests] are included / updated

Copy link

welcome bot commented Jul 7, 2024

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

@limzykenneth
Copy link
Member

Hi @Orasund, thanks. There are several formatting related changes (mostly added spaces) in this PR that is not related to the stated issue, can you please revert them?

@Orasund
Copy link
Contributor Author

Orasund commented Jul 8, 2024

@limzykenneth Formating changes have been reverted

@limzykenneth limzykenneth merged commit 256afc3 into processing:main Jul 9, 2024
2 checks passed
@limzykenneth
Copy link
Member

Looks good. Thanks!

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