Skip to content

Commit

Permalink
fix: RTD config rename, upgrade OS/Python, add uv setup
Browse files Browse the repository at this point in the history
- Rename readthedocs.yml to .readthedocs.yml,
- update to Ubuntu 22.04 and Python 3.12,
- add uv setup and mkdocs build commands.
  • Loading branch information
jstvz committed Nov 15, 2024
1 parent 06f493b commit 2ef7b0d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ mkdocs:
configuration: mkdocs.yml

build:
os: ubuntu-20.04
os: ubuntu-22.04
tools:
python: "3.10"

python:
install:
- requirements: requirements_dev.txt
- method: setuptools
path: .
python: "3.12"
commands:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv sync --group docs --frozen
- uv run mkdocs build --site-dir $READTHEDOCS_OUTPUT/html

0 comments on commit 2ef7b0d

Please sign in to comment.