-
Notifications
You must be signed in to change notification settings - Fork 4
/
.readthedocs.yaml
35 lines (30 loc) · 843 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
31
32
33
34
35
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.12"
apt_packages:
- doxygen
- graphviz
# Ubuntu 22.04 has KiCad 6.0, which does not have kicad-cli.
# We'll have to keep this commented (and generate PDFs manually with `make gen`) until ReadTheDocs adds Ubuntu 24.04.
# apt_packages:
# - kicad
# jobs:
# pre_install:
# - bash -c "mkdir -p ~/.config/kicad/7.0/colors && cp ./docs/assets/kicad/colors/Dark.json ~/.config/kicad/7.0/colors/Dark.json"
# - make -C docs gen
jobs:
pre_install:
- make -C docs doxygen
sphinx:
configuration: docs/conf.py
builder: dirhtml
formats:
- pdf
python:
install:
- requirements: docs/requirements.txt