Update .readthedocs.yml to install MuJoCo Warp in order to generate API documentation. Additionally, mirror mujoco_warp/pyproject.toml in mjx/mujoco/mjx/third_party/mujoco_warp.

PiperOrigin-RevId: 814656860
Change-Id: Ie4c0e9076c90b598dedc65a3e9793ed3d2375c37
This commit is contained in:
Taylor Howell
2025-10-03 05:38:50 -07:00
committed by Copybara-Service
parent 50920450d2
commit 53360f51a9
3 changed files with 116 additions and 0 deletions
+2
View File
@@ -135,6 +135,8 @@ If you wish to build the documentation locally, for example to test pull-request
1. Clone the ``mujoco`` repository: ``git clone https://github.com/deepmind/mujoco.git``
2. Go to the ``doc/`` directory: ``cd mujoco/doc``
3. Install the dependencies: ``pip install -r requirements.txt``
|br| Note that the MuJoCo Warp API documentation is autogenerated and requires additional dependencies.
See `.readthedocs.yml <https://github.com/google-deepmind/mujoco/blob/main/.readthedocs.yml>`__ for details.
4. Build the HTML: ``make html``
5. Open ``_build/html/index.html`` in your browser of choice.