forked from Pyomo/pyomo
-
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) · 760 Bytes
/
Copy path.readthedocs.yaml
File metadata and controls
39 lines (34 loc) · 760 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
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.13"
apt_packages:
- graphviz
- latexmk
- texlive
- texlive-latex-extra
- texlive-pictures
jobs:
post_build:
- |
for pdf in $READTHEDOCS_OUTPUT/pdf/*.pdf; do
if test [[ `basename $pdf` == graphviz* ]]; then
rm -v $pdf;
fi;
done
sphinx:
configuration: doc/OnlineDocs/conf.py
formats:
- pdf
# Set the version of Python and requirements required to build the docs
python:
install:
- method: pip
path: .
extra_requirements:
- docs