Fix building docs in CI

Older versions of Sphinx don't work with whatever the default version of
Python is on GitHub Actions, and never versions of Sphinx need a newer
version of Python.

Also update the RTD theme and Breathe while I'm at it.
This commit is contained in:
Oliver Hamlet
2021-11-13 17:15:31 +00:00
parent 31c478a2fc
commit e670605700
4 changed files with 20 additions and 4 deletions
+8
View File
@@ -123,6 +123,10 @@ jobs:
./libloot_internals_tests
./libloot_tests
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install packages for building docs
shell: bash
run: |
@@ -201,6 +205,10 @@ jobs:
.\libloot_internals_tests.exe
.\libloot_tests.exe
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install packages for building docs
run: |
nuget install doxygen -Version 1.8.14
+8
View File
@@ -99,6 +99,10 @@ jobs:
./libloot_internals_tests
./libloot_tests
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install packages for building docs
shell: bash
run: |
@@ -174,6 +178,10 @@ jobs:
cmake .. -G "Visual Studio 15 2017" -A ${{ matrix.platform }} -DBOOST_ROOT="boost_1_72_0" -DCPACK_PACKAGE_VERSION="${{ steps.get-libloot-version.outputs.version }}"
cmake --build . --config ${{ env.MSVC_CONFIG }}
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install packages for building docs
run: |
nuget install doxygen -Version 1.8.14