Skip to content

Docs: rewrite install guide and make lerobot a required dependency#227

Merged
yuecideng merged 1 commit into
mainfrom
yueci/update-install-docs
Apr 12, 2026
Merged

Docs: rewrite install guide and make lerobot a required dependency#227
yuecideng merged 1 commit into
mainfrom
yueci/update-install-docs

Conversation

@yuecideng
Copy link
Copy Markdown
Contributor

Description

This PR rewrites the installation documentation and moves lerobot from an optional to a required dependency.

Documentation changes (docs/source/quick_start/install.md):

  • Reformatted system requirements into a clean table
  • Added GitHub-flavored admonitions (> [!NOTE], > [!TIP]) for important callouts
  • Restructured into three clear install methods: Docker (recommended), pip (PyPI), and from source
  • Removed standalone lerobot extras references from install commands (no longer needed since it's now required)
  • Improved the "Verify Installation" section with clearer instructions

Dependency changes (pyproject.toml):

  • Moved lerobot>=0.4.4 from [project.optional-dependencies] to the main dependencies list

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (non-breaking change which improves an existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (existing functionality will not work without user modification)
  • Documentation update

Checklist

  • I have run the black . command to format the code base.
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Dependencies have been updated, if applicable.

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings April 12, 2026 06:57
@yuecideng yuecideng added the docs Improvements or additions to documentation label Apr 12, 2026
@yuecideng yuecideng merged commit 8d20b8d into main Apr 12, 2026
4 of 5 checks passed
@yuecideng yuecideng deleted the yueci/update-install-docs branch April 12, 2026 06:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates EmbodiChain’s installation documentation and makes lerobot a core dependency so users no longer need to opt into it via extras.

Changes:

  • Move lerobot from an optional extra into the main dependencies list.
  • Rewrite docs/source/quick_start/install.md to present system requirements as a table and restructure installation into Docker/pip/source flows.
  • Update verification instructions and remove references to embodichain[lerobot].

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
pyproject.toml Adds lerobot>=0.4.4 to core dependencies and removes the lerobot optional extra.
docs/source/quick_start/install.md Restructures and modernizes the install guide, removing lerobot-extras install paths.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +12 to +13
> [!NOTE]
> Ensure your NVIDIA driver is compatible with your chosen PyTorch wheel. We recommend installing PyTorch from the [official PyTorch instructions](https://pytorch.org/get-started/locally/) for your CUDA version.
Copy link

Copilot AI Apr 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GitHub-flavored admonition syntax (> [!NOTE], > [!TIP]) isn’t supported by MyST/Sphinx by default, so these will likely render as plain blockquotes in the built docs. Consider switching to MyST admonitions (e.g., :::{note} / :::{tip} with the existing colon_fence + html_admonition extensions) so they render correctly.

Copilot uses AI. Check for mistakes.
Comment on lines +35 to 42
### pip (PyPI)

> **We strongly recommend using a virtual environment to avoid dependency conflicts.**

To install EmbodiChain from pypi, run:
> [!TIP]
> We strongly recommend using a virtual environment to avoid dependency conflicts.

```bash
pip install embodichain --extra-index-url http://pyp.open3dv.site:2345/simple/ --trusted-host pyp.open3dv.site

# Or install with the lerobot extras:
pip install embodichain[lerobot] --extra-index-url http://pyp.open3dv.site:2345/simple/ --trusted-host pyp.open3dv.site
```
Copy link

Copilot AI Apr 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is labeled “pip (PyPI)”, but the command installs from an additional index (--extra-index-url http://pyp.open3dv.site:2345/simple/). Either rename this section to avoid implying the install is from PyPI only, or add a brief note explaining why the extra index is required.

Copilot uses AI. Check for mistakes.
Comment on lines 40 to 42
```bash
pip install embodichain --extra-index-url http://pyp.open3dv.site:2345/simple/ --trusted-host pyp.open3dv.site

# Or install with the lerobot extras:
pip install embodichain[lerobot] --extra-index-url http://pyp.open3dv.site:2345/simple/ --trusted-host pyp.open3dv.site
```
Copy link

Copilot AI Apr 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The additional package index is referenced over plain HTTP. If this host supports HTTPS, it’s safer to use it to reduce MITM risk when installing dependencies; otherwise consider documenting why HTTP is necessary and what trust assumptions users are making.

Copilot uses AI. Check for mistakes.
Comment thread pyproject.toml
Comment on lines 58 to 59
[project.optional-dependencies]
lerobot = [
"lerobot==0.4.4"
]

Copy link

Copilot AI Apr 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[project.optional-dependencies] is now empty after moving lerobot into core dependencies. Consider removing the empty table to avoid suggesting there are supported extras when there aren’t any.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants