Skip to content

Commit 67bd077

Browse files
authored
Merge pull request #1 from imcf/fix/blockbuster-apidocs
fix(apidocs): correct blockbuster main branch + allow 0.x releases
2 parents 2cdbfcc + 79830c4 commit 67bd077

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

settings/apidocs/blockbuster.inc.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ REPO_URI="https://github.com/imcf/${REPO_NAME}.git"
1919
# INCLUDE_TAGS="^(${REPO_NAME}-|v)[0-9]+"
2020

2121
# the name of the main branch, commonly "main" or (old) "master"
22-
MAIN_BRANCH="master"
22+
MAIN_BRANCH="main"
2323

2424
# location of the package source, by default "src/" will be used if emtpy:
2525
# PKG_SRC="src/main/resources" # for mavenized packages
2626

2727
# a 'grep -E' pattern to filter VERSIONS to be EXCLUDED from docs generation:
28-
EXCLUDE_VERSIONS='^0\..*$'
28+
# (blockbuster is still pre-1.0, so do NOT exclude 0.x releases)
29+
# EXCLUDE_VERSIONS='^0\..*$'
2930

3031
# check for 'pdoc: skip' pragmas in the code and disable those lines before
3132
# actually calling pdoc for the versions specified here:
@@ -35,7 +36,10 @@ PREPROC_VERSIONS='^1\.[0-4]{1}\..*$'
3536
# USE_VENV=
3637

3738
# extra packages that need to be present in the venv:
38-
PIP_PKGS_EXTRA="imcf-fiji-mocks sjlogging python-micrometa"
39+
# only blockbuster's unguarded module-level imports are required for pdoc to
40+
# introspect the sources (scipy, scikit-image, tqdm, psutil, pynvml, cellpose,
41+
# dask.distributed are all guarded by try/except or imported lazily):
42+
PIP_PKGS_EXTRA="numpy dask[array] zarr"
3943

4044
# directory with pdoc templates:
4145
# PDOC_TEMPLATES

0 commit comments

Comments
 (0)