Development
Set up a development environment:
python -m pip install -e ".[dev]"
Run tests:
python -m pytest
Run linting and formatting checks:
python -m ruff check .
python -m ruff format --check .
Build a local distribution:
python -m build
Repository Layout
mujoco-truss-gen/
├── docs/
├── examples/
├── src/
│ ├── generate_mujoco_model.py
│ └── mujoco_truss_gen/
│ ├── mesh_import/
│ └── mujoco_model/
├── tests/
├── LICENSE
├── README.md
├── pyproject.toml
└── uv.lock
The package code lives under src/mujoco_truss_gen. Tests live under tests.
User-facing examples live under examples.
Preview the documentation
From the repository root, install MkDocs in your virtual environment and start the preview server:
python -m pip install mkdocs==1.6.1
python -m mkdocs serve
Open http://127.0.0.1:8000/mujoco-truss-gen/docs/. Run
python -m mkdocs build --strict before submitting docs changes. GitHub Pages
publishes the generated docs at /docs/ alongside the existing preset catalog.