From 028f0c56f2a0c9d1c3591b9001be1c7426ac474d Mon Sep 17 00:00:00 2001 From: Shinya Kato Date: Fri, 11 Oct 2024 16:21:05 +0900 Subject: [PATCH] Fix Read the Docs build errors --- .readthedocs.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..0b25239 --- /dev/null +++ b/.readthedocs.yaml @@ -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