diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 99585a5b..408fb7fc 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -22,3 +22,4 @@ python: path: . extra_requirements: - docs + - requirements: extra-build-requirements.txt diff --git a/extra-build-requirements.txt b/extra-build-requirements.txt new file mode 100644 index 00000000..c40423dd --- /dev/null +++ b/extra-build-requirements.txt @@ -0,0 +1 @@ +myst-nb @ git+https://github.com/executablebooks/MyST-NB.git diff --git a/pyproject.toml b/pyproject.toml index acd99b1b..44779ea0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,8 +49,7 @@ docs = [ "sphinx-book-theme > 1.0", "sphinx-autodoc2", "sphinx", - # Use the nightly version of MyST-NB, https://github.com/executablebooks/MyST-NB/pull/600 - "myst-nb @ git+https://github.com/executablebooks/MyST-NB.git", + # Use the nightly version of MyST-NB (in extra-build-requirements.txt), https://github.com/executablebooks/MyST-NB/pull/600 "nbsphinx", "myst-parser[linkify]", "sphinx_copybutton",