Skip to content

Configure Read the Docs for automated documentation builds#21

Merged
roesel merged 1 commit intomainfrom
claude/fix-docs-status-FwLBX
Mar 8, 2026
Merged

Configure Read the Docs for automated documentation builds#21
roesel merged 1 commit intomainfrom
claude/fix-docs-status-FwLBX

Conversation

@roesel
Copy link
Copy Markdown
Owner

@roesel roesel commented Mar 8, 2026

Summary

This PR adds Read the Docs configuration and documentation build dependencies to enable automated documentation generation and hosting.

Key Changes

  • Added .readthedocs.yaml configuration file specifying:
    • Ubuntu 22.04 build environment
    • Python 3.12 runtime
    • Sphinx documentation configuration from docs/source/conf.py
    • Documentation dependencies from docs/requirements.txt
  • Created docs/requirements.txt with Sphinx and Read the Docs theme dependencies
  • Fixed Python path in docs/source/conf.py to correctly reference the project root (changed from ../ to ../../)

Implementation Details

The path adjustment in conf.py was necessary because the Sphinx configuration file is located in docs/source/, so it needs to traverse up two directory levels to reach the project root, rather than just one.

- Add .readthedocs.yaml (required since Sept 2023 for RTD builds)
- Add docs/requirements.txt with sphinx and sphinx_rtd_theme deps
- Fix sys.path in conf.py to point to project root (../../) instead of docs/

https://claude.ai/code/session_015J5urZw2vzKDQCCbXoBCKu
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@roesel roesel merged commit b8fc18c into main Mar 8, 2026
4 checks passed
@roesel roesel deleted the claude/fix-docs-status-FwLBX branch March 8, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants