Skip to content

Commit

Permalink
Fix Read the Docs build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyaaa authored and YukiSeino committed Oct 15, 2024
1 parent fabd97b commit d15793c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.12"
jobs:
pre_install:
# The following code is necessary to avoid PyYAML installation errors.
# See https://github.com/yaml/pyyaml/issues/724#issuecomment-1638636728
- python -m pip install --upgrade --no-cache-dir --no-build-isolation pyyaml==6.0

sphinx:
configuration: docs/conf.py

formats: all

python:
install:
- requirements: docs/requirements.txt

0 comments on commit d15793c

Please sign in to comment.