Merge pull request #4737 from minrk/rm-double-doc

avoid duplicate jupyterhub installation for docs
This commit is contained in:
Min RK
2024-03-22 09:06:55 +01:00
committed by GitHub
3 changed files with 5 additions and 11 deletions

View File

@@ -64,7 +64,7 @@ jobs:
- name: Install requirements
run: |
pip install -r docs/requirements.txt pytest
pip install -e . -r docs/requirements.txt pytest
- name: pytest docs/
run: |

View File

@@ -15,6 +15,7 @@ build:
python:
install:
- path: .
- requirements: docs/requirements.txt
formats:

View File

@@ -1,13 +1,6 @@
# We install the jupyterhub package to help autodoc-traits inspect it and
# generate documentation.
#
# FIXME: If there is a way for this requirements.txt file to pass a flag that
# the build system can intercept to not build the javascript artifacts,
# then do so so. That would mean that installing the documentation can
# avoid needing node/npm installed.
#
--editable .
# docs also require jupyterhub itself to be installed
# don't depend on it here, as that often results in a duplicate
# installation of jupyterhub that's already installed
autodoc-traits
jupyterhub-sphinx-theme
myst-parser>=0.19