Skip to content

Conversation

@rakesh2OO5
Copy link

@rakesh2OO5 rakesh2OO5 commented Feb 10, 2026

Summary

Fixes broken reference links in the lerpColor() documentation for p5.js 2.0.

The links to lerp and colorMode were pointing to incorrect hash targets, which resulted in 404 errors on the current reference site.

What Changed

Updated JSDoc links in src/color/creating_reading.js to use the existing hash-based reference format used elsewhere in the docs:

  • #/lerp → #/p5/lerp
  • #/colorMode → #/p5/colorMode

Verification

  • Reproduced the 404 issue on the beta reference site.
  • Ran npm run docs locally.
  • Confirmed the updated links appear correctly in docs/reference/data.json and point to valid reference pages.

Scope

Docs-only change (JSDoc). No runtime or API behavior affected.

Fixes Issue #8506

@welcome
Copy link

welcome bot commented Feb 10, 2026

🎉 Thanks for opening this pull request! For guidance on contributing, check out our contributor guidelines and other resources for contributors!
🤔 Please ensure that your PR links to an issue, which has been approved for work by a maintainer; otherwise, there might already be someone working on it, or still ongoing discussion about implementation. You are welcome to join the discussion in an Issue if you're not sure!
🌸 Once your PR is merged, be sure to add yourself to the list of contributors on the readme page !

Thank You!

@rakesh2OO5 rakesh2OO5 force-pushed the fix-lerpcolor-reference-links branch from 0baf43e to 23a979b Compare February 10, 2026 16:45
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