-
Notifications
You must be signed in to change notification settings - Fork 0
add readthedocs #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add readthedocs #11
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,23 @@ | ||||||||||||||||||
| # Read the Docs configuration file | ||||||||||||||||||
| # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||||||||||||||||||
|
|
||||||||||||||||||
| # Required | ||||||||||||||||||
| version: 2 | ||||||||||||||||||
|
|
||||||||||||||||||
| # Set the OS, Python version, and other tools you might need | ||||||||||||||||||
| build: | ||||||||||||||||||
| os: ubuntu-24.04 | ||||||||||||||||||
| tools: | ||||||||||||||||||
| python: "3.13" | ||||||||||||||||||
|
|
||||||||||||||||||
| # Build documentation in the "docs/" directory with Sphinx | ||||||||||||||||||
| sphinx: | ||||||||||||||||||
| configuration: docs/conf.py | ||||||||||||||||||
|
|
||||||||||||||||||
|
Comment on lines
+7
to
+16
|
||||||||||||||||||
| # Optionally, but recommended, | ||||||||||||||||||
| # declare the Python requirements required to build your documentation | ||||||||||||||||||
| # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html | ||||||||||||||||||
| # python: | ||||||||||||||||||
| # install: | ||||||||||||||||||
| # - requirements: pyproject.toml | ||||||||||||||||||
|
|
||||||||||||||||||
|
Comment on lines
+21
to
+23
|
||||||||||||||||||
| # install: | |
| # - requirements: pyproject.toml | |
| # install: | |
| # - method: pip | |
| # path: . | |
| # extra_requirements: | |
| # - docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The RTD build is pinned to Python 3.13, but the repo’s docs workflow sets up Python 3.12. If any dependency/extensions behave differently across versions, this can lead to “works in CI, fails on RTD” drift. Consider aligning RTD’s Python version with CI (or explicitly testing docs builds on 3.13 in CI).