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 81ed374
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ build:
# 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 81ed374

Please sign in to comment.