Skip to content

Commit a99a8e7

Browse files
authored
Fixed Python code block being in C++ block (#1527)
1 parent a0b22cd commit a99a8e7

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

docs/source/docs/programming/photonlib/controlling-led.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You can control the vision LEDs of supported hardware via PhotonLib using the `s
1414
// Blink the LEDs.
1515
camera.SetLED(photonlib::VisionLEDMode::kBlink);
1616
17-
.. code-block:: Python
17+
.. code-block:: Python
1818
1919
# Coming Soon!
2020
```

docs/source/docs/programming/photonlib/driver-mode-pipeline-index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You can also get the pipeline latency from a pipeline result using the `getLaten
6262
// Get the pipeline latency.
6363
units::second_t latency = result.GetLatency();
6464
65-
.. code-block:: Python
65+
.. code-block:: Python
6666
6767
# Coming Soon!
6868
```

docs/source/docs/programming/photonlib/robot-pose-estimator.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The API documentation can be found in here: [Java](https://github.wpilib.org/all
2424
// The parameter for LoadAPrilTagLayoutField will be different depending on the game.
2525
frc::AprilTagFieldLayout aprilTagFieldLayout = frc::LoadAprilTagLayoutField(frc::AprilTagField::k2024Crescendo);
2626
27-
.. code-block:: Python
27+
.. code-block:: Python
2828
2929
# Coming Soon!
3030
@@ -81,7 +81,7 @@ The PhotonPoseEstimator has a constructor that takes an `AprilTagFieldLayout` (s
8181
photonlib::RobotPoseEstimator estimator(
8282
aprilTags, photonlib::CLOSEST_TO_REFERENCE_POSE, cameras);
8383
84-
.. code-block:: Python
84+
.. code-block:: Python
8585
8686
kRobotToCam = wpimath.geometry.Transform3d(
8787
wpimath.geometry.Translation3d(0.5, 0.0, 0.5),
@@ -123,7 +123,9 @@ Calling `update()` on your `PhotonPoseEstimator` will return an `EstimatedRobotP
123123
}
124124
}
125125
126-
.. code-block:: Python
126+
.. code-block:: Python
127+
128+
# Coming Soon!
127129
128130
129131

0 commit comments

Comments
 (0)