Skip to content

Docs gaps: attributes, vector components, and the user-forums link #1

Open

Description

@sspickle

Nathaniel Cunningham reported these on the VPython-users list in August 2024 and raised them again on 2026-10-30. Students couldn't find some basics that the old help page covered. I checked the current sources in vpdocs/, and all three still apply.

  1. No explanation of attributes. The old Overview explained what object attributes are and how to set and read them, including that you can add attributes of your own (ball.velocity = vec(1,0,0)). No page in the current docs covers this.
  2. Vector components aren't documented as attributes. vector.rst shows vector(x,y,z), but it never says that v.x, v.y and v.z can be read and assigned. A related suggestion: give Vectors its own entry in the left menu. Right now it sits under Math Functions (index.rst).
  3. The "report it to the user forums" line has no link. index.rst asks readers to report errors to "one of the user forums", but the links are only on the Additional Resources page (resources.rst). Link the forums from that sentence.

Plan: one PR to webVPythonDocsHome that adds an attributes section, documents vector components, moves Vectors to a top-level menu entry, and links the forums. Then rebuild and deploy with do_build.sh.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions