From e4060b409afdfb5db323d275c3ca7f19f37df4a5 Mon Sep 17 00:00:00 2001 From: Felix Exner Date: Wed, 16 Apr 2025 09:58:33 +0200 Subject: [PATCH] Add github_url directives This way the "Edit on GitHub" buttons in the assembled documentation work. --- my_robot_cell/doc/assemble_urdf.rst | 2 ++ my_robot_cell/doc/build_moveit_config.rst | 3 +++ my_robot_cell/doc/index.rst | 2 ++ my_robot_cell/doc/start_ur_driver.rst | 2 ++ tutorial_index.rst | 2 ++ 5 files changed, 11 insertions(+) diff --git a/my_robot_cell/doc/assemble_urdf.rst b/my_robot_cell/doc/assemble_urdf.rst index 4942aa6..fbf675f 100644 --- a/my_robot_cell/doc/assemble_urdf.rst +++ b/my_robot_cell/doc/assemble_urdf.rst @@ -1,3 +1,5 @@ +:github_url: https://github.com/UniversalRobots/Universal_Robots_ROS2_Tutorials/blob/main/my_robot_cell/doc/assemble_urdf.rst + Assembling the URDF =================== diff --git a/my_robot_cell/doc/build_moveit_config.rst b/my_robot_cell/doc/build_moveit_config.rst index 13a336d..a4ddffa 100644 --- a/my_robot_cell/doc/build_moveit_config.rst +++ b/my_robot_cell/doc/build_moveit_config.rst @@ -1,3 +1,6 @@ +:github_url: https://github.com/UniversalRobots/Universal_Robots_ROS2_Tutorials/blob/main/my_robot_cell/doc/build_moveit_config.rst + + ======================== Build the MoveIt! config ======================== diff --git a/my_robot_cell/doc/index.rst b/my_robot_cell/doc/index.rst index 8e9dbc3..26c3923 100644 --- a/my_robot_cell/doc/index.rst +++ b/my_robot_cell/doc/index.rst @@ -1,3 +1,5 @@ +:github_url: https://github.com/UniversalRobots/Universal_Robots_ROS2_Tutorials/blob/main/my_robot_cell/doc/index.rst + .. _custom_workcell_tutorial: ================ diff --git a/my_robot_cell/doc/start_ur_driver.rst b/my_robot_cell/doc/start_ur_driver.rst index 1e24ede..e1b1ed6 100644 --- a/my_robot_cell/doc/start_ur_driver.rst +++ b/my_robot_cell/doc/start_ur_driver.rst @@ -1,3 +1,5 @@ +:github_url: https://github.com/UniversalRobots/Universal_Robots_ROS2_Tutorials/blob/main/my_robot_cell/doc/start_ur_driver.rst + ========================= Start the ur_robot_driver ========================= diff --git a/tutorial_index.rst b/tutorial_index.rst index 851e9a1..22fcaae 100644 --- a/tutorial_index.rst +++ b/tutorial_index.rst @@ -1,3 +1,5 @@ +:github_url: https://github.com/UniversalRobots/Universal_Robots_ROS2_Tutorials/blob/main/tutorial_index.rst + ############################## Universal Robots ROS tutorials ##############################