Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
os: ubuntu-24.04
tools:
python: "3.9"
python: "3.12"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand All @@ -23,4 +23,4 @@ formats:

python:
install:
- requirements: doc/requirements.txt
- requirements: doc/requirements.txt
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the python: section, the - requirements: ... entry is indented at the same level as install:. In RTD v2 config, python.install is a list, so the dash entry needs to be nested under install:; otherwise YAML parses - requirements as a sibling of install (and the requirements may not get installed / config may be invalid). Please indent the list item one level deeper under install:.

Suggested change
- requirements: doc/requirements.txt
- requirements: doc/requirements.txt

Copilot uses AI. Check for mistakes.