Add CMake support for also building Markdown docs in parallel (#49)

This commit is contained in:
Jared Dillard
2025-10-26 20:11:09 -07:00
committed by GitHub
parent b63801bcff
commit e2a80faf04
7 changed files with 120 additions and 12 deletions
+10 -11
View File
@@ -1,15 +1,14 @@
version: 2
build:
os: "ubuntu-20.04"
os: ubuntu-24.04
tools:
python: "3.10"
sphinx:
configuration: docs/source/conf.py
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
python: "3.13"
commands:
- pip install cmake
- pip install -r docs/requirements.txt
- pip install -e .
- cmake --workflow --preset documentation-workflow
# Copy built documentation to Read the Docs output directory
- mkdir -p $READTHEDOCS_OUTPUT/html
- cp -r build/* $READTHEDOCS_OUTPUT/html/