Skip to content

Commit 13c67f8

Browse files
authored
Merge pull request #15 from dmgav/configure-rtd
Create configuration for doc publishing to RTD
2 parents 867758c + 3f1e31a commit 13c67f8

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

.readthedocs.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ build:
77
os: ubuntu-24.04
88
tools:
99
python: "3.13"
10-
commands:
11-
- asdf plugin add uv
12-
- asdf install uv latest
13-
- asdf global uv latest
14-
- uv sync --group docs
15-
- uv run python -m sphinx -T -b html -d docs/_build/doctrees -D language=en
16-
docs $READTHEDOCS_OUTPUT/html
10+
11+
python:
12+
install:
13+
- requirements: requirements-rtd.txt
14+
15+
# Build documentation in the "docs/" directory with Sphinx
16+
sphinx:
17+
configuration: docs/source/conf.py
18+

requirements-rtd.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
httpx
2+
sphinx>=7.0
3+
myst_parser>=0.13
4+
sphinx_copybutton
5+
sphinx_autodoc_typehints
6+
sphinx_rtd_theme
7+
numpydoc
8+
ipython

0 commit comments

Comments
 (0)