mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-09-10 02:10:20 +08:00
Document
OrbbecSDK V2 ROS2 Documentation
This repository contains the documentation for OrbbecSDK V2 ROS2 Wrapper in both English and Chinese.
Documentation Structure
- English Version:
docs/en/- Full English documentation - 中文版本:
docs/zh/- 完整中文文档 - Published Versions:
docs/version-manifest.json- Version list for GitHub Pages
Quick Start
Build English Documentation:
cd docs/en
pip install -r requirements.txt
make clean && make html
Build Chinese Documentation:
cd docs/zh
pip install -r requirements.txt
make clean && make html
For Full Versioned Site Build:
pip install -r docs/en/requirements.txt -r docs/zh/requirements.txt jieba
python docs/build_versions.py
View Documentation
After 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
Project Structure
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
Notes
- Make changes to the English version first (
docs/en/) - Translate and adapt for the Chinese version (
docs/zh/) - Ensure both versions build successfully
Dependencies
- Sphinx
- recommonmark
- sphinx-rtd-theme
- jieba (for Chinese search)
- Required extensions (see requirements.txt in each language folder)
Languages
C++
64.8%
Python
20.6%
C
13.2%
CMake
1.1%
Shell
0.2%