Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.git
.gitignore

node_modules
venv/
.venv/
__pycache__/
*.pyc
vendor/
target/
dist/
build/
*.egg-info/

.env
.idea/
.vscode/
*.log
tmp/
.DS_Store

Dockerfile
.dockerignore

outputs/
28 changes: 24 additions & 4 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Deploy MkDocs Documentation
name: Deploy Site (landing + docs)

# Publishes to gh-pages:
# / -> docs/landing (the EmbodiedGen V2 project landing page)
# /docs/ -> MkDocs documentation (built from docs/documentation)

on:
push:
Expand Down Expand Up @@ -33,7 +37,7 @@ jobs:
- name: Set PYTHONPATH
run: echo "PYTHONPATH=$(pwd)" >> $GITHUB_ENV

- name: Build docs
- name: Build docs (validation)
run: mkdocs build

deploy:
Expand All @@ -59,5 +63,21 @@ jobs:
- name: Set PYTHONPATH
run: echo "PYTHONPATH=$(pwd)" >> $GITHUB_ENV

- name: Deploy docs
run: mkdocs gh-deploy --force
- name: Build docs -> site/
run: mkdocs build

- name: Assemble publish dir (landing at root, docs under /docs/)
run: |
rm -rf public
mkdir -p public/docs
cp -a docs/landing/. public/
rm -rf public/tools public/README.md # build tooling / readme are not part of the published site
cp -a site/. public/docs/

- name: Configure git identity
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

- name: Publish to gh-pages
run: ghp-import -n -p -f -m "Deploy landing + docs ${GITHUB_SHA}" public
19 changes: 17 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ wheels*/
*.bak
.arcconfig
.vscode/
.cursor/

# files
*.pack
Expand All @@ -51,6 +52,10 @@ wheels*/
# node
node_modules

# site build artifacts (mkdocs build + assembled publish dir)
/site/
/public/

# local files
build.sh
__pycache__/
Expand All @@ -60,7 +65,17 @@ scripts/tools/
weights
apps/sessions/
apps/assets/
.gradio/*
CLAUDE.md
AGENTS.md
.github/copilot-instructions.md
apps/gradio_cache/

# Larger than 1MB
docs/assets/real2sim_mujoco.gif
docs/assets/scene3d.gif
docs/documentation/assets/real2sim_mujoco.gif
docs/documentation/assets/scene3d.gif

# Project landing page (docs/landing) β€” keep its otherwise-ignored site files tracked
!docs/landing/**/*.html
!docs/landing/**/*.mp4
!docs/landing/**/*.json
13 changes: 13 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,16 @@
url = https://github.com/HochCC/sam-3d-objects.git
branch = main
shallow = true
[submodule "thirdparty/GraspGen"]
path = thirdparty/GraspGen
url = https://github.com/NVlabs/GraspGen.git
branch = main
shallow = true
[submodule "thirdparty/Hunyuan3D-Part"]
path = thirdparty/Hunyuan3D-Part
url = https://github.com/Tencent-Hunyuan/Hunyuan3D-Part.git
branch = main
shallow = true
[submodule "thirdparty/infinigen"]
path = thirdparty/infinigen
url = https://github.com/princeton-vl/infinigen.git
44 changes: 11 additions & 33 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ repos:
description: Prevent giant files from being committed
entry: check-added-large-files
language: python
exclude: ^docs/
args: ["--maxkb=1024"]
- repo: local
hooks:
Expand All @@ -18,18 +19,18 @@ repos:
language: system
exclude: (?x)(^tools/|^thirdparty/|^patch_files/)
files: \.(c|cc|cxx|cpp|cu|h|hpp)$
args: [--project=asset_recons, --path]
args: [--project=embodied_gen, --path]
- repo: local
hooks:
- id: pycodestyle-python
name: pep8-exclude-docs
description: Check python code style.
entry: pycodestyle
- id: ruff-check-python
name: ruff-check
description: Check and fix python lint issues.
entry: ruff check --fix
language: system
exclude: (?x)(^docs/|^thirdparty/|^scripts/build/)
files: \.(py)$
types: [file, python]
args: [--config=setup.cfg]
args: [--config=pyproject.toml]


# pre-commit install --hook-type commit-msg to enable it
Expand All @@ -44,35 +45,12 @@ repos:

- repo: local
hooks:
- id: pydocstyle-python
name: pydocstyle-change-exclude-docs
description: Check python doc style.
entry: pydocstyle
language: system
exclude: (?x)(^docs/|^thirdparty/)
files: \.(py)$
types: [file, python]
args: [--config=pyproject.toml]
- repo: local
hooks:
- id: black
name: black-exclude-docs
description: black format
entry: black
- id: ruff-format-python
name: ruff-format
description: Format python code.
entry: ruff format
language: system
exclude: (?x)(^docs/|^thirdparty/)
files: \.(py)$
types: [file, python]
args: [--config=pyproject.toml]

- repo: local
hooks:
- id: isort
name: isort
description: isort format
entry: isort
language: system
exclude: (?x)(^thirdparty/)
files: \.(py)$
types: [file, python]
args: [--settings-file=pyproject.toml]
Loading
Loading