Skip to content

Commit 4883798

Browse files
authored
Fixes sphinx documentation generation (#128)
Fixes a bug where older sphinx components crash on newer versions of Python
1 parent 8ef0525 commit 4883798

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/devcontainers/python:1-3.12-bullseye
1+
FROM mcr.microsoft.com/devcontainers/python:1-3.13-bookworm
22

33
RUN pip install numpy black ruff nir pytest
44
RUN pip3 install torch --index-url https://download.pytorch.org/whl/cpu

docs/requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
sphinx==5.0.2
1+
sphinx
22
sphinx-book-theme
33
myst_nb
44
numpy
55
h5py
66
jupyter-book
77
sphinx_external_toc
88
sphinxcontrib-mermaid
9-
astroid~=2.15 # https://github.com/readthedocs/sphinx-autoapi/issues/407
9+
astroid
1010
sphinx-autoapi
1111
nirtorch

0 commit comments

Comments
 (0)