Skip to content

Commit

Permalink
try readthedocs headless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Dec 6, 2024
1 parent 7517f55 commit c3999ff
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3999ff

Please sign in to comment.