Skip to content

Commit c061a5f

Browse files
authored
Fix RLIs pointing to main (#2283)
Fixes build error do to line changes in main
1 parent a69de09 commit c061a5f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

source/docs/software/telemetry/writing-sendable-classes.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ For example, here is the implementation of ``initSendable`` from WPILib's ``Bang
99

1010
.. group-tab:: Java
1111

12-
.. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/main/wpimath/src/main/java/edu/wpi/first/math/controller/BangBangController.java
12+
.. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/v2023.4.3/wpimath/src/main/java/edu/wpi/first/math/controller/BangBangController.java
1313
:language: java
1414
:lines: 150-158
1515
:linenos:
1616
:lineno-start: 150
1717

1818
.. group-tab:: C++
1919

20-
.. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/main/wpimath/src/main/native/cpp/controller/BangBangController.cpp
20+
.. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/v2023.4.3/wpimath/src/main/native/cpp/controller/BangBangController.cpp
2121
:language: cpp
2222
:lines: 58-72
2323
:linenos:
@@ -54,18 +54,18 @@ To help users ensure safety when interfacing with dashboard values, ``SendableBu
5454

5555
.. group-tab:: Java
5656

57-
.. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/main/wpilibj/src/main/java/edu/wpi/first/wpilibj/motorcontrol/PWMMotorController.java
57+
.. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/v2023.4.3/wpilibj/src/main/java/edu/wpi/first/wpilibj/motorcontrol/PWMMotorController.java
5858
:language: java
5959
:lines: 118-124
6060
:linenos:
6161
:lineno-start: 118
6262

6363
.. group-tab:: C++
6464

65-
.. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/main/wpilibc/src/main/native/cpp/motorcontrol/PWMMotorController.cpp
65+
.. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/v2023.4.3/wpilibc/src/main/native/cpp/motorcontrol/PWMMotorController.cpp
6666
:language: cpp
67-
:lines: 54-60
67+
:lines: 56-62
6868
:linenos:
69-
:lineno-start: 54
69+
:lineno-start: 56
7070

7171
Additionally, users may call ``builder.setActuator(true)`` to mark any mechanism that might move as a result of ``Sendable`` input as an actuator. Currently, this is used by :ref:`Shuffleboard <docs/software/dashboards/shuffleboard/getting-started/shuffleboard-tour:Tour of Shuffleboard>` to disable actuator widgets when not in :ref:`LiveWindow <docs/controls-overviews/control-system-software:LiveWindow>` mode.

source/docs/software/vision-processing/roborio/using-the-cameraserver-on-the-roborio.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The following program starts automatic capture of a USB camera like the Microsof
2121

2222
.. group-tab:: C++
2323

24-
.. rli:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/main/wpilibcExamples/src/main/cpp/examples/QuickVision/cpp/Robot.cpp
24+
.. rli:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/v2023.4.3/wpilibcExamples/src/main/cpp/examples/QuickVision/cpp/Robot.cpp
2525
:language: cpp
2626
:lines: 7-8,16-18,20,25-31
2727

@@ -43,7 +43,7 @@ In the following example a thread created in robotInit() gets the Camera Server
4343

4444
.. group-tab:: C++
4545

46-
.. rli:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/main/wpilibcExamples/src/main/cpp/examples/IntermediateVision/cpp/Robot.cpp
46+
.. rli:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/v2023.4.3/wpilibcExamples/src/main/cpp/examples/IntermediateVision/cpp/Robot.cpp
4747
:language: cpp
4848
:lines: 5-20,23-56,58-61,63-64,69-76
4949

0 commit comments

Comments
 (0)