diff --git a/.readthedocs.yml b/.readthedocs.yml index fa7dbbe..e51da29 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,6 +7,19 @@ build: os: ubuntu-lts-latest tools: python: "3.12" + apt_packages: + - libgl1-mesa-dev + - xvfb + jobs: + post_system_dependencies: + - set -x + - export DISPLAY=:99.0 + - export PYVISTA_OFF_SCREEN=true + - which Xvfb + - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & + - sleep 30 + - set +x + - exec "$@" sphinx: configuration: docs/conf.py