Copy docs from C++ libloot

This commit is contained in:
Oliver Hamlet
2025-05-08 19:27:13 +01:00
parent a4ff2ba4bb
commit 7b870488c4
34 changed files with 8007 additions and 9 deletions
+20
View File
@@ -159,6 +159,26 @@ jobs:
working-directory: cpp
run: ctest --test-dir build --build-config ${{ env.CMAKE_CONFIG }} --output-on-failure --parallel
- name: Install packages for building docs (Linux)
working-directory: cpp
run: |
sudo apt-get update
sudo apt-get install -y --no-upgrade doxygen
pip3 install --user -r docs/requirements.txt
if: runner.os == 'Linux'
- name: Install packages for building docs (Windows)
working-directory: cpp
run: |
nuget install doxygen -Version 1.8.14
echo "${{ github.workspace }}\Doxygen.1.8.14\tools" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
python -m pip install -r docs/requirements.txt
if: runner.os == 'Windows'
- name: Build docs
working-directory: cpp
run: sphinx-build -b html docs build/docs/html
- name: Package the C++ wrapper
working-directory: cpp/build
run: cpack -C ${{ env.CMAKE_CONFIG }}