-
Notifications
You must be signed in to change notification settings - Fork 240
/
.readthedocs.yaml
30 lines (25 loc) · 755 Bytes
/
.readthedocs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
# Set the version of Python and other tools you might need
build:
os: "ubuntu-24.04"
tools:
python: "3.12"
apt_packages:
- "graphviz"
jobs:
pre_build:
- "./configure --enable-documentation CXXFLAGS='-O0 -std=c++23'"
- "mkdir -p doc/doxygen-html"
- "cd doc && doxygen"
- "mkdir -p -- $READTHEDOCS_OUTPUT/html"
post_build:
- "mv -- $READTHEDOCS_OUTPUT/html $READTHEDOCS_OUTPUT/sphinx-html"
- "mv -- doc/doxygen-html $READTHEDOCS_OUTPUT/html"
python:
install:
- requirements: doc/requirements.txt
sphinx:
configuration: doc/source/conf.py
fail_on_warning: true