Skip to content

Commit f43d7c8

Browse files
committed
Add readthedocs.yaml to install apt packages
1 parent 5178563 commit f43d7c8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.readthedocs.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-20.04
11+
tools:
12+
python: "3.9"
13+
apt_packages:
14+
- python3-dev
15+
- python3-cffi
16+
- libffi-dev
17+
18+
# Build documentation in the docs/ directory with Sphinx
19+
sphinx:
20+
configuration: docs/conf.py
21+
22+
formats:
23+
- pdf
24+
25+
# Optionally declare the Python requirements required to build your docs
26+
python:
27+
install:
28+
- requirements: docs/requirements.txt
29+
system_packages: true

0 commit comments

Comments
 (0)