Skip to content

Commit ccb97ae

Browse files
EliEli
authored andcommitted
Change approach to extra sphinx.
1 parent 3419749 commit ccb97ae

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/build_sphinx.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@ jobs:
5151
python scripts/install_extras.py
5252
micromamba install -y -c conda-forge -c cadwr-dms schimpy
5353
54+
- name: Install docs extras (pip WITH deps)
55+
shell: bash -l {0}
56+
env:
57+
PIP_NO_INDEX: "0" # ensure pip can resolve docs deps
58+
PIP_NO_BUILD_ISOLATION: "1" # optional; fine to keep
59+
run: |
60+
micromamba activate docs
61+
# For [project.optional-dependencies].docs:
62+
python -m pip install -e .[doc]
63+
5464
- name: Build Sphinx
5565
shell: bash -l {0}
5666
env:

0 commit comments

Comments
 (0)