Skip to content

Commit e8e737c

Browse files
Merge pull request #103 from datajoint/fix/install-datajoint-in-build-mode
Fix: install datajoint-python in BUILD mode for mkdocstrings
2 parents 044910c + ea7db8d commit e8e737c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker-compose.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ services:
6464
pip install scikit-image pooch
6565
mkdocs serve --config-file ./mkdocs.yaml -a 0.0.0.0:8000
6666
elif echo "$${MODE}" | grep -i build &>/dev/null; then
67-
# BUILD mode: just build static site from pre-executed notebooks
68-
# datajoint-python source is mounted for mkdocstrings API doc generation
67+
# BUILD mode: build static site from pre-executed notebooks
68+
# Install datajoint-python for mkdocstrings (needs to import for API docs)
69+
pip install -e /datajoint-python
6970
mkdocs build --config-file ./mkdocs.yaml
7071
else
7172
echo "Unexpected mode..."

0 commit comments

Comments
 (0)