From 2504dba93c69c33bb3b983250866b7f4e92d3ee0 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Thu, 3 Aug 2023 17:31:10 -0400 Subject: [PATCH 1/2] .readthedocs.yaml: attempt to fix this --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index a508e81f..ee1f4055 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -12,7 +12,7 @@ conda: environment: .readthedocs_env.yml python: - version: 3.9 + version: 3.8 install: - method: pip path: . From 14c20895a7bfdd2e39f4a3195c85a0b2b83362dd Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Thu, 3 Aug 2023 17:47:55 -0400 Subject: [PATCH 2/2] docs: explicitly require ipykernel to build for Notebook > 7 --- .readthedocs_env.yml | 1 + ci/azure-build-and-test.yml | 2 +- setup.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.readthedocs_env.yml b/.readthedocs_env.yml index 72ca5299..0cab3567 100644 --- a/.readthedocs_env.yml +++ b/.readthedocs_env.yml @@ -13,6 +13,7 @@ dependencies: - jupyterlab_widgets - krb5 - lxml + - ipykernel - matplotlib - nbclassic - nodejs diff --git a/ci/azure-build-and-test.yml b/ci/azure-build-and-test.yml index b3504e92..962bb45f 100644 --- a/ci/azure-build-and-test.yml +++ b/ci/azure-build-and-test.yml @@ -230,7 +230,7 @@ jobs: source activate-conda.sh conda activate build set -x - \conda install -y astropy astropy-sphinx-theme jupyter_sphinx numpydoc sphinx sphinx-automodapi + \conda install -y astropy astropy-sphinx-theme ipykernel jupyter_sphinx nbclassic numpydoc sphinx sphinx-automodapi cd docs make html displayName: Build docs diff --git a/setup.py b/setup.py index 46e850de..99a314e9 100755 --- a/setup.py +++ b/setup.py @@ -133,6 +133,7 @@ ], "docs": [ "astropy-sphinx-theme", + "ipykernel", "sphinx>=1.6", "sphinx-automodapi", "numpydoc",