Skip to content

Link to p5.Vector from createVector() docs is incorrect #8495

@BD103

Description

@BD103

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • p5.strands
  • WebGL
  • DevOps, Build process, Unit testing
  • Internationalization (i18n)
  • Friendly Errors
  • Other (specify if possible)

p5.js version

Both 1.0 and 2.0

Web browser and version

N/A

Operating system

N/A

Steps to reproduce this

Steps:

  1. Go to https://p5js.org/reference/p5/createVector/ (or https://beta.p5js.org/reference/p5/createvector/ for 2.0).
  2. Scroll down to the "Returns" section at the bottom of the page.
  3. Click on the link that says "p5.Vector: new p5.Vector object."
    Image
  4. Observe that it does not go to https://p5js.org/reference/p5/p5.Vector/, but rather https://p5js.org/reference/p5/createVector/#/p5.Vector.

Notes:

I believe this is the line causing this issue:

* @return {p5.Vector} new <a href="#/p5.Vector">p5.Vector</a> object.

The link #/p5.Vector is wrong, though other parts of the documentation were able to use it and still go to the correct page. My guess is that this has something to do with how the docs are built?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions