Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
version: 2

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

# Build from the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
configuration: docs/source/conf.py

# Explicitly set the version of Python and its requirements
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
build:
os: ubuntu-24.04
tools:
python: "3.13"
jobs:
pre_create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
create_environment:
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
install:
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --extra doc
11 changes: 0 additions & 11 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
from datetime import date
from pathlib import Path

import git

Expand Down Expand Up @@ -257,14 +256,4 @@
sphinx_gallery_conf = {
"examples_dirs": "../../examples", # path to your example scripts
"gallery_dirs": "auto_examples", # path to where to save gallery generated output
"binder": {
"org": "Owkin",
"repo": "PyDESeq2",
"branch": current_commit, # Can be any branch, tag, or commit hash.
# Use a branch that hosts your docs.
"binderhub_url": "https://mybinder.org", # public binderhub url
"dependencies": str(Path(__file__).parents[2] / "requirements.txt"),
"notebooks_dir": "jupyter_notebooks",
"use_jupyter_lab": True,
},
}