From 1b2b963724ce0ad27481d513eab1ab35dfbb4fb3 Mon Sep 17 00:00:00 2001 From: Max SCHMELLER Date: Thu, 12 Sep 2024 15:14:08 +0900 Subject: [PATCH] docs: add docs build instructions to readme --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 52b87964a..fafaa12f1 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ Here you will find information about the background of the project, how to insta - [Contributing](https://tier4.github.io/nebula/contribute) - [Tutorials](https://tier4.github.io/nebula/tutorials) +To build and serve the documentation locally, see the build steps further below. + ## Quick start Nebula builds with ROS 2 Galactic and Humble. @@ -48,6 +50,14 @@ rosdep install --from-paths src --ignore-src -y -r colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release ``` +_(optional)_ To build and serve the documentation, run the following commands in your workspace: + +```shell +cd src +pip3 install -r docs/requirements.txt +mkdocs serve +``` + To launch Nebula as a ROS 2 node with default parameters for your sensor model: ```bash