Skip to content

[BUG]: Alert documentation shows C++ example rather then python #330

Description

@sciencewhiz

Problem description

On https://robotpy.readthedocs.io/projects/robotpy/en/2027.0.0a7/wpiutil/Alert.html#alert,

It shows the following C++ example code, instead of python.

class Robot {
  wpi::util::Alert alert{"Something went wrong",
                         wpi::util::Alert::Level::MEDIUM};
}

Robot::periodic() {
  alert.Set(...);
}

Operating System

Windows

Installed Python Packages

N/A

Reproducible example code

N/A

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

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions