Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,13 @@ This repository is currently built automatically by two systems. Travis builds t

## Build Locally

If you want to test the tutorials by generating the html pages locally on your machine, you will first need to install the `rosdoc_lite` package, and then you can use the ``build_locally`` script.
If you want to test the tutorials by generating the html pages locally on your machine, you can use the ``build_locally`` script.
Run in the root of the moveit_tutorials package:

> **_NOTE:_** [rosdoc_lite](https://wiki.ros.org/rosdoc_lite) is needed to run the build_locally.sh script!

export ROS_DISTRO=kinetic # 16.04
export ROS_DISTRO=melodic # 18.04
export ROS_DISTRO=noetic # 20.04

sudo apt install ros-$ROS_DISTRO-rosdoc-lite
source /opt/ros/$ROS_DISTRO/setup.bash
./build_locally.sh

Expand Down
6 changes: 5 additions & 1 deletion build_locally.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/bin/sh

# Install rosdoc_lite if it isn't there yet
test -x `which rosdoc_lite` || sudo apt install ros-$ROS_DISTRO-rosdoc-lite
if ! command -v rosdoc_lite &> /dev/null
then
echo "Installing rosdoc_lite"
sudo apt install ros-$ROS_DISTRO-rosdoc-lite
fi

# Setup Environment
rm -rf build
Expand Down