| 1 |
version: 2 |
| 2 |
|
| 3 |
formats: |
| 4 |
- htmlzip |
| 5 |
|
| 6 |
# build with latest available ubuntu version |
| 7 |
build: |
| 8 |
os: ubuntu-lts-latest |
| 9 |
tools: |
| 10 |
python: "3.12" |
| 11 |
# need to install playwright deps via apt (lack of sudo means we can't use |
| 12 |
# `playwright install-deps`). NB: Graphviz is a separate dep urelated to playwright |
| 13 |
apt_packages: |
| 14 |
- graphviz |
| 15 |
- libasound2 |
| 16 |
- libdbus-glib-1-2 |
| 17 |
jobs: |
| 18 |
# build the gallery of themes before building the doc |
| 19 |
post_install: |
| 20 |
- pip install playwright |
| 21 |
- playwright install chromium |
| 22 |
# - python ./docs/scripts/generate_gallery_images.py |
| 23 |
|
| 24 |
sphinx: |
| 25 |
configuration: docs/conf.py |
| 26 |
# builder: "dirhtml" |
| 27 |
fail_on_warning: false # we have some unavoidable warnings, and a separate warnings checker |
| 28 |
|
| 29 |
python: |
| 30 |
install: |
| 31 |
- method: pip |
| 32 |
path: . |
| 33 |
extra_requirements: |
| 34 |
- doc |