Skip to content

Commit 1c83122

Browse files
Update documentation (#24)
* Add documentation dependencies * Update documentation * Add docs README instructions
1 parent 9b6dcde commit 1c83122

File tree

4 files changed

+34
-3
lines changed

4 files changed

+34
-3
lines changed

docs/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Building Jupyter-ROS Documentation
2+
3+
1. Clone the repository and create a new environment for development
4+
5+
1. From the root directory, install the extension in editable mode
6+
7+
```sh
8+
pip install -e .[docs]
9+
```
10+
11+
1. Build the documents
12+
13+
```sh
14+
cd jupyter-ros/docs/
15+
make html
16+
```
17+
18+
1. Open the documentation locally
19+
20+
```sh
21+
cd _build/html/
22+
python -m http.server
23+
```
24+
25+
1. From a web browser, navigate to `localhost:8000`

docs/examples.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ Without any configuration, the basic robot example can be displayed in the viewe
44

55
![Basic Robot](_static/exBasic.png)
66

7-
To display the basic Niryo and the Burger robot, a ROS environment needs to be configured accordingly in order for the viewer to locate the necessary mesh files. The following packages are required:
7+
To display the basic Niryo and the Burger robot, a ROS environment needs to be configured accordingly in order for the viewer to locate the necessary mesh files, see [Tutorial for Configuring ROS Environment](http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment).
8+
9+
The following packages are required:
810

9-
- `jupyterlab-ros`
1011
- `ros-noetic-urdf-tutorial`
1112
- `ros-noetic-turtlebot3-description`
1213

docs/installation.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
For running the examples and interfacing with ROS, the following packages are also required:
88

9-
- `jupyterlab-ros`
109
- `ros-noetic-urdf-tutorial`
1110
- `ros-noetic-turtlebot3-description`
1211

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@
5858
'dev': [
5959
'click',
6060
'jupyter_releaser>=0.22'
61+
],
62+
'docs': [
63+
'jupyterlite-sphinx',
64+
'myst-parser',
65+
'sphinx',
66+
'sphinx-rtd-theme'
6167
]
6268
},
6369
zip_safe=False,

0 commit comments

Comments
 (0)