File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ default: build
33TUTORIALS_MAIN_BRANCH ?= main
44MODIFIED := $(shell python .github/get_modified_tutorials.py --main-branch $(TUTORIALS_MAIN_BRANCH ) )
55
6- FLAGS = --flatten --build-path=. --preprocessors=nbconvert.preprocessors.ExtractOutputPreprocessor -v
6+ FLAGS = --flatten --build-path=. -v
7+ CONVERTFLAGS = --make-index --preprocessors=nbconvert.preprocessors.ExtractOutputPreprocessor --index-template=templates/index.tpl
78
89build : envcheck execute convert
910buildall : envcheck executeall convertall
@@ -15,13 +16,13 @@ execute:
1516 nbcollection execute --timeout=600 ${FLAGS} ${MODIFIED}
1617
1718convert :
18- nbcollection convert --make-index --index-template=templates/index.tpl ${FLAGS} ${MODIFIED}
19+ nbcollection convert ${CONVERTFLAGS} ${FLAGS} ${MODIFIED}
1920
2021executeall :
2122 nbcollection execute --timeout=600 ${FLAGS} tutorials
2223
2324convertall :
24- nbcollection convert --make-index --index-template=templates/index.tpl ${FLAGS} tutorials
25+ nbcollection convert ${CONVERTFLAGS} ${FLAGS} tutorials
2526
2627clean :
2728 rm -rf _build
You can’t perform that action at this time.
0 commit comments