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 - name: Install requirements
run: | run: |
pip install -r docs/requirements.txt pytest pip install -e . -r docs/requirements.txt pytest
- name: pytest docs/ - name: pytest docs/
run: | run: |

View File

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

View File

@@ -1,13 +1,6 @@
# We install the jupyterhub package to help autodoc-traits inspect it and # docs also require jupyterhub itself to be installed
# generate documentation. # don't depend on it here, as that often results in a duplicate
# # installation of jupyterhub that's already installed
# 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 .
autodoc-traits autodoc-traits
jupyterhub-sphinx-theme jupyterhub-sphinx-theme
myst-parser>=0.19 myst-parser>=0.19