Contributing Guide¶
This guide explains how to contribute code and documentation to NavArena.
Repositories¶
NavArena uses separate repositories for different contribution types:
| Type | Repository | URL |
|---|---|---|
| Code (core, forge, gen, bench) | NavArena | https://github.com/EI-Nav/NavArena |
| Documentation (this site) | NavArena-Doc | https://github.com/EI-Nav/NavArena-Doc |
- Code contributions → Fork and PR to the main NavArena repository
- Documentation contributions → Fork and PR to the NavArena-Doc repository
Code Contributions¶
Development Setup¶
- Clone the main repository:
git clone https://github.com/EI-Nav/NavArena.git - Set up the development environment per the Installation Guide (Section 1 Quick Install, or Section 2 uv workspace)
- Install in editable mode:
pip install -e "navarena-core[rendering,export]"and equivalent for other sub-packages as needed
Submission Process¶
- Fork the NavArena repository
- Create a branch:
git checkout -b feature/your-topicorfix/your-issue - Commit with clear messages (e.g.
feat: add X,fix: resolve Y) - Run tests:
make test(if available) - Open a Pull Request against the main branch
Code Style and Linting¶
- Format code:
make format - Run linter:
make lint - See the project root
Makefilefor all available commands
Documentation Contributions¶
Development Setup¶
- Clone the docs repository:
git clone https://github.com/EI-Nav/NavArena-Doc.git - Install:
pip install -r requirements.txt - Preview:
mkdocs serve, open http://127.0.0.1:8000
Document Structure¶
docs/zh/—— Simplified Chinesedocs/en/—— English
When adding or editing docs, update both zh and en accordingly.
Submission Process¶
- Fork the NavArena-Doc repository
- Create branch:
git checkout -b docs/your-topic - Edit and verify:
mkdocs serve - Commit and open a Pull Request