Skip to content

Conversation

@achimnol
Copy link
Member

@achimnol achimnol commented Jan 5, 2026

Summary

  • Add .readthedocs.yaml configuration file to properly build documentation on ReadTheDocs
  • Fix RST title level inconsistency in docs/ssh.rst that caused Sphinx warnings
  • Remove redundant class annotation in exceptions.py that caused duplicate documentation warnings

The documentation at https://aiodocker.readthedocs.io/ has been stuck at version 0.21.0 (from January 2022) because there was no .readthedocs.yaml configuration file. Without this file, ReadTheDocs uses legacy defaults that don't properly install the package with its documentation dependencies.

Test plan

  • Verified uv run sphinx-build -W -E docs docs/_build/html builds successfully with no warnings
  • Verified uv run mypy aiodocker/exceptions.py passes

The documentation at readthedocs.io was stuck at version 0.21.0 from January 2022
due to missing .readthedocs.yaml configuration. This adds proper configuration and
fixes documentation warnings that caused strict builds to fail.

- Add .readthedocs.yaml to configure Python 3.12 and doc dependencies
- Fix RST title level inconsistency in docs/ssh.rst
- Remove redundant class annotation in exceptions.py causing duplicate docs warning
@achimnol achimnol enabled auto-merge (squash) January 5, 2026 08:55
@achimnol achimnol merged commit 20b35fa into main Jan 5, 2026
16 checks passed
@achimnol achimnol deleted the docs/fix-docs-build branch January 5, 2026 08:58
@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.03%. Comparing base (53cb286) to head (849ba97).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #995      +/-   ##
==========================================
- Coverage   73.05%   73.03%   -0.02%     
==========================================
  Files          25       25              
  Lines        1837     1836       -1     
  Branches      250      250              
==========================================
- Hits         1342     1341       -1     
  Misses        410      410              
  Partials       85       85              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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