Skip to content

ob-yalian/ros2-wrapper-document-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

135 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Make changes to the English version first (docs/en/)
  2. Translate and adapt for the Chinese version (docs/zh/)
  3. Ensure both versions build successfully

Dependencies

  • Sphinx
  • recommonmark
  • sphinx-rtd-theme
  • jieba (for Chinese search)
  • Required extensions (see requirements.txt in each language folder)

Packages

 
 
 

Contributors