File tree 1 file changed +4
-3
lines changed 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ default: build
3
3
TUTORIALS_MAIN_BRANCH ?= main
4
4
MODIFIED := $(shell python .github/get_modified_tutorials.py --main-branch $(TUTORIALS_MAIN_BRANCH ) )
5
5
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
7
8
8
9
build : envcheck execute convert
9
10
buildall : envcheck executeall convertall
@@ -15,13 +16,13 @@ execute:
15
16
nbcollection execute --timeout=600 ${FLAGS} ${MODIFIED}
16
17
17
18
convert :
18
- nbcollection convert --make-index --index-template=templates/index.tpl ${FLAGS} ${MODIFIED}
19
+ nbcollection convert ${CONVERTFLAGS} ${FLAGS} ${MODIFIED}
19
20
20
21
executeall :
21
22
nbcollection execute --timeout=600 ${FLAGS} tutorials
22
23
23
24
convertall :
24
- nbcollection convert --make-index --index-template=templates/index.tpl ${FLAGS} tutorials
25
+ nbcollection convert ${CONVERTFLAGS} ${FLAGS} tutorials
25
26
26
27
clean :
27
28
rm -rf _build
You can’t perform that action at this time.
0 commit comments