Skip to content

Commit

Permalink
ci: Add matplotlib import in RTD pre_build (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsetiawan authored Dec 13, 2023
1 parent 960cfc0 commit be58a9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ build:
pre_build:
# Generate the Sphinx configuration for this Jupyter Book so it builds.
- "jupyter-book config sphinx docs/source/"
# Create font cache ahead of jupyter book
- 'python -c "import matplotlib.pyplot as plt"'
# Get the API documentation dynamically
- "sphinx-apidoc -f -o docs/source/ src/caustics/"

python:
Expand Down

0 comments on commit be58a9a

Please sign in to comment.