From 7200193d5ab7046daf0e91b6710fe16e8dc47a97 Mon Sep 17 00:00:00 2001 From: Dmitri Gavrilov Date: Fri, 17 Oct 2025 12:43:45 -0400 Subject: [PATCH 1/2] CI: add requirements for RTD --- .readthedocs.yaml | 16 +++++++++------- requirements-rtd.txt | 8 ++++++++ 2 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 requirements-rtd.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 172d2d8..4b8809d 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,10 +7,12 @@ build: os: ubuntu-24.04 tools: python: "3.13" - commands: - - asdf plugin add uv - - asdf install uv latest - - asdf global uv latest - - uv sync --group docs - - uv run python -m sphinx -T -b html -d docs/_build/doctrees -D language=en - docs $READTHEDOCS_OUTPUT/html + +python: + install: + - requirements: requirements-rtd.txt + +# Build documentation in the "docs/" directory with Sphinx +sphinx: + configuration: docs/source/conf.py + diff --git a/requirements-rtd.txt b/requirements-rtd.txt new file mode 100644 index 0000000..a41f0bc --- /dev/null +++ b/requirements-rtd.txt @@ -0,0 +1,8 @@ +httpx +sphinx >=7.0 +myst_parser >=0.13 +sphinx_copybutton +sphinx_autodoc_typehints +sphinx_rtd_theme +numpydoc +ipython From 3f1e31afc74dfe7d01feca96cbee4190649477c5 Mon Sep 17 00:00:00 2001 From: Dmitri Gavrilov Date: Fri, 17 Oct 2025 12:49:16 -0400 Subject: [PATCH 2/2] CI: fix requirements-rtd.txt formatting --- requirements-rtd.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements-rtd.txt b/requirements-rtd.txt index a41f0bc..59b5df6 100644 --- a/requirements-rtd.txt +++ b/requirements-rtd.txt @@ -1,6 +1,6 @@ httpx -sphinx >=7.0 -myst_parser >=0.13 +sphinx>=7.0 +myst_parser>=0.13 sphinx_copybutton sphinx_autodoc_typehints sphinx_rtd_theme