From da3a81db065e3ab29ad64bb8e14371ca8e7b5867 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Wed, 14 Aug 2024 14:41:40 -0700 Subject: [PATCH] Fix RLIs that were using main (#2697) --- .../profile-subsystems-commands.rst | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/source/docs/software/commandbased/profile-subsystems-commands.rst b/source/docs/software/commandbased/profile-subsystems-commands.rst index 21db9991e9..f868430187 100644 --- a/source/docs/software/commandbased/profile-subsystems-commands.rst +++ b/source/docs/software/commandbased/profile-subsystems-commands.rst @@ -161,16 +161,16 @@ In either case, a ``TrapezoidProfileCommand`` is created by passing the necessar .. tab-item:: Java :sync: Java - .. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/main/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/TrapezoidProfileCommand.java + .. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/v2024.3.2/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/TrapezoidProfileCommand.java :language: java - :lines: 28-43 + :lines: 28-44 :linenos: :lineno-start: 28 .. tab-item:: C++ :sync: C++ - .. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/main/wpilibNewCommands/src/main/native/include/frc2/command/TrapezoidProfileCommand.h + .. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/v2024.3.2/wpilibNewCommands/src/main/native/include/frc2/command/TrapezoidProfileCommand.h :language: c++ :lines: 35-49 :linenos: @@ -211,7 +211,7 @@ What does a ``TrapezoidProfileSubsystem`` look like when used in practice? The .. tab-item:: Java :sync: Java - .. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/main/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/drivedistanceoffboard/commands/DriveDistanceProfiled.java + .. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/v2024.3.2/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/drivedistanceoffboard/commands/DriveDistanceProfiled.java :language: java :lines: 5- :linenos: @@ -220,7 +220,7 @@ What does a ``TrapezoidProfileSubsystem`` look like when used in practice? The .. tab-item:: C++ (Header) :sync: C++ (Header) - .. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/main/wpilibcExamples/src/main/cpp/examples/DriveDistanceOffboard/include/commands/DriveDistanceProfiled.h + .. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/v2024.3.2/wpilibcExamples/src/main/cpp/examples/DriveDistanceOffboard/include/commands/DriveDistanceProfiled.h :language: c++ :lines: 5- :linenos: @@ -229,7 +229,7 @@ What does a ``TrapezoidProfileSubsystem`` look like when used in practice? The .. tab-item:: C++ (Source) :sync: C++ (Source) - .. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/main/wpilibcExamples/src/main/cpp/examples/DriveDistanceOffboard/cpp/commands/DriveDistanceProfiled.cpp + .. remoteliteralinclude:: https://raw.githubusercontent.com/wpilibsuite/allwpilib/v2024.3.2/wpilibcExamples/src/main/cpp/examples/DriveDistanceOffboard/cpp/commands/DriveDistanceProfiled.cpp :language: c++ :lines: 5- :linenos: @@ -242,7 +242,7 @@ And, for an :ref:`inlined