diff --git a/.readthedocs.yml b/.readthedocs.yml index fdb43f442..99c9f1781 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,5 +5,12 @@ version: 2 sphinx: configuration: docs/conf.py +# Try to make build faster with mamba. See: +# https://docs.readthedocs.io/en/stable/guides/conda.html#making-builds-faster-with-mamba +build: + os: "ubuntu-20.04" + tools: + python: "mambaforge-4.10" + conda: environment: docs/env.yml diff --git a/docs/env.yml b/docs/env.yml index e4ee742bb..efe0145bd 100644 --- a/docs/env.yml +++ b/docs/env.yml @@ -1,22 +1,23 @@ name: python-graphblas-docs channels: - conda-forge + - nodefaults dependencies: - - python=3.9 - - sphinx>=4.2 - - graphblas>=7.1.0 - - python-suitesparse-graphblas + - python=3.10 + - pip + # python-graphblas dependencies + - donfig + - numba + - python-suitesparse-graphblas>=7.3.2.0 + - pyyaml + # extra dependencies - matplotlib - networkx - pandas - - scipy - - numba - - cffi - - donfig - - pyyaml - - pip - - pip: - - nbsphinx - - numpydoc - - sphinx_panels - - pydata_sphinx_theme + - scipy>=1.7.0 + # docs dependencies + - commonmark # For RTD + - nbsphinx + - numpydoc + - pydata-sphinx-theme + - sphinx-panels