forked from jtv/libpqxx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.readthedocs.yaml
More file actions
39 lines (34 loc) · 974 Bytes
/
.readthedocs.yaml
File metadata and controls
39 lines (34 loc) · 974 Bytes
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
31
32
33
34
35
36
37
38
39
# Read the Docs configuration file.
#
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details.
---
version: 2
build:
# Using an old Ubuntu LTS: an apparent bug in Doxygen 1.9.8 "loses" the
# documentation for pqxx::transaction and pqxx::work. So for now, stick
# with Doxygen 1.9.1. :-(
os: "ubuntu-22.04"
tools:
python: "3.12"
apt_packages:
- "autoconf"
- "automake"
- "build-essential"
- "graphviz"
- "libpq-dev"
- "make"
jobs:
pre_build:
- "./configure CXXFLAGS=\"-O0 -std=c++23\" --enable-documentation"
- "mkdir -p doc/doxygen-html"
- "doxygen doc/Doxyfile"
- "mkdir -p -- \"$READTHEDOCS_OUTPUT/html\""
post_build:
- "cd -- \"$READTHEDOCS_OUTPUT\" && mv html 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