Skip to content

Commit

Permalink
use mamba for readthedoc installation, to be able to use xeus-python-…
Browse files Browse the repository at this point in the history
…kernel
  • Loading branch information
brichet committed Sep 11, 2023
1 parent eedd103 commit 4d63fea
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
11 changes: 3 additions & 8 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@ version: 2
build:
os: "ubuntu-22.04"
tools:
python: "3"
nodejs: "18"
python: "mambaforge-4.10"

sphinx:
builder: html
configuration: docs/conf.py

python:
install:
- method: pip
path: .
extra_requirements:
- docs
conda:
environment: docs-environment.yml
8 changes: 8 additions & 0 deletions docs-environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: litegitpuller-doc
channels:
-conda-forge
dependencies:
- pip
- jupyterlite-xeus-python >=0.9.0,<0.10.0
- pip:
- .[docs]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dynamic = ["version", "description", "authors", "urls", "keywords"]
[project.optional-dependencies]
docs = [
"jupyterlite-sphinx>=0.9.2",
"jupyterlite-xeus-python",
"jupyterlite-xeus-python>=0.9.0,<0.10.0",
"myst-parser",
"pydata_sphinx_theme",
"sphinx>=4"
Expand Down

0 comments on commit 4d63fea

Please sign in to comment.