yoloserv/modules/openvino-master/docs/documentation_build_instructions.md
2024-01-22 10:12:33 -04:00

750 B

Build Documentation Using CMake

  1. Clone submodules:
cd openvino
git submodule update --init --recursive
  1. Install build dependencies using the install_build_dependencies.sh script in the project root folder.
chmod +x install_build_dependencies.sh
./install_build_dependencies.sh
  1. Install doxyrest and put the bin folder in your path

  2. Install python dependencies:

python -m pip install -r docs/requirements.txt
  1. Install the sphinx theme

  2. Create a build folder:

mkdir build && cd build
  1. Build documentation using these commands:
cmake .. -DENABLE_DOCS=ON -DENABLE_DOCKER=ON
cmake --build . --target sphinx_docs