Skip to content

Commit

Permalink
Add urdf_utils/sapien_utils API reference
Browse files Browse the repository at this point in the history
  • Loading branch information
KolinGuo committed Apr 16, 2024
1 parent d0ab37f commit 62095c8
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ services:
command:
- >-
python3 -m pip install ./wheelhouse/mplib*.whl
&& rm -rf ./docs/build
&& sphinx-autobuild ./docs/source/ ./docs/build/html/
&& apt update && apt install -y libx11-6
&& python3 -m pip install sapien~=3.0.0.dev
&& cd ./docs
&& rm -rf ./build
&& sphinx-autobuild ./source/ ./build/html/
image: kolinguo/sphinx
build:
network: host
Expand All @@ -27,4 +30,5 @@ services:
COPY ./requirements.txt /tmp
RUN python3 -m pip install -r /tmp/requirements.txt \
&& rm -r /tmp/*
RUN python3 -m pip install sphinx-autobuild watchfiles
RUN git config --global --add safe.directory /MPlib
1 change: 1 addition & 0 deletions docs/source/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ API Reference
utils/pose
utils/random
urdf_utils
sapien_utils

.. toctree::
:maxdepth: 3
Expand Down
12 changes: 12 additions & 0 deletions docs/source/reference/sapien_utils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
``sapien_utils``
------------------------------------------

.. autoclass:: mplib.sapien_utils.SapienPlanningWorld
:members:
:undoc-members:
:show-inheritance:

.. autoclass:: mplib.sapien_utils.SapienPlanner
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/reference/urdf_utils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
``urdf_utils``
-------------------

.. automodule:: mplib.urdf_utils
:members:
:undoc-members:
:show-inheritance:

0 comments on commit 62095c8

Please sign in to comment.