This repository contains the documentation for OrbbecSDK V2 ROS2 Wrapper in both English and Chinese.
- English Version:
docs/en/- Full English documentation - 中文版本:
docs/zh/- 完整中文文档 - Published Versions:
docs/version-manifest.json- Version list for GitHub Pages
cd docs/en
pip install -r requirements.txt
make clean && make htmlcd docs/zh
pip install -r requirements.txt
make clean && make htmlpip install -r docs/en/requirements.txt -r docs/zh/requirements.txt jieba
python docs/build_versions.pyAfter building, open the following files in your browser:
- English:
docs/en/_build/html/index.html - Chinese:
docs/zh/_build/html/index.html - Full GitHub Pages site:
site/index.html
docs/
├── en/ # English documentation
│ ├── source/ # Source files
│ ├── conf.py # Sphinx config
│ └── requirements.txt # Python dependencies
├── zh/ # Chinese documentation
│ ├── source/ # Source files
│ ├── conf.py # Sphinx config
│ └── requirements.txt # Python dependencies
├── _ext/ # Shared Sphinx extensions
├── build_versions.py # Versioned site builder
└── version-manifest.json # Published version definitions
- Make changes to the English version first (
docs/en/) - Translate and adapt for the Chinese version (
docs/zh/) - Ensure both versions build successfully
- Sphinx
- recommonmark
- sphinx-rtd-theme
- jieba (for Chinese search)
- Required extensions (see requirements.txt in each language folder)