Skip to content

Commit

Permalink
RTD: Use Conda (Mamba)
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Jan 7, 2025
1 parent 6b15748 commit d9d5f9a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ version: 2
build:
os: ubuntu-24.04
tools:
python: "3.13"
python: "mambaforge-latest"

# custom build process
# https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-uv
commands:
# dependencies
- pip install -r requirements.txt
# build
- myst build --html
# deploy
- mv _build/html $READTHEDOCS_OUTPUT/html

conda:
environment: conda.yml
9 changes: 9 additions & 0 deletions conda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: readthedocs

channels:
- conda-forge
- nodefaults

dependencies:
- python
- mystmd
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

0 comments on commit d9d5f9a

Please sign in to comment.