Skip to content

Commit a0165f5

Browse files
jeremymanningclaude
andcommitted
Fix ReadTheDocs configuration
Fix .readthedocs.yaml configuration to resolve documentation build failure: 1. Update Sphinx configuration path from 'docs/conf.py' to 'docs/source/conf.py' (ReadTheDocs was looking for conf.py in wrong location) 2. Add Python package installation with docs dependencies: - Install package with pip method - Include docs extra requirements for Sphinx dependencies This resolves the "Expected file not found: docs/conf.py" error and ensures ReadTheDocs can build the documentation properly. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ebcc73c commit a0165f5

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.readthedocs.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ build:
1414

1515
# Build documentation in the "docs/" directory with Sphinx
1616
sphinx:
17-
configuration: docs/conf.py
17+
configuration: docs/source/conf.py
1818

19-
# Optionally, but recommended,
20-
# declare the Python requirements required to build your documentation
21-
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
22-
# python:
23-
# install:
24-
# - requirements: docs/requirements.txt
19+
# Install the package with docs dependencies
20+
python:
21+
install:
22+
- method: pip
23+
path: .
24+
extra_requirements:
25+
- docs

0 commit comments

Comments
 (0)