File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 2929 uses : astral-sh/setup-uv@v6
3030 - name : Sphinx build
3131 run : |
32+ export ANNDATA_CUPY=0
3233 uv run --group dev sphinx-build -v docs docs/_build
3334 - name : Setup Pages
3435 uses : actions/configure-pages@v5
Original file line number Diff line number Diff line change 11"""Configuration file for the Sphinx documentation builder."""
22
3+ import os
34import sys
45from pathlib import Path
56
7+ # Disable cupy in anndata to avoid import errors during doc build
8+ os .environ ['ANNDATA_CUPY' ] = '0'
9+
610# Add the parent directory to the path so we can import RISE
711# This allows Sphinx to find the RISE package
812project_root = Path (__file__ ).parent .parent .resolve ()
5761 "cupy" ,
5862 "torch" ,
5963 "scvi" ,
64+ "datashader" ,
65+ "colorcet" ,
66+ "holoviews" ,
67+ "pacmap" ,
68+ "parafac2" ,
69+ "tensorly" ,
70+ "tlviz" ,
6071]
6172
73+ # Suppress warnings during autodoc
74+ suppress_warnings = ["app.add_directive" ]
75+
6276# Intersphinx mapping for external documentation
6377intersphinx_mapping = {
6478 "python" : ("https://docs.python.org/3" , None ),
You can’t perform that action at this time.
0 commit comments