From 47a11009ccb759ed92f60c4c68b1b209a8c53748 Mon Sep 17 00:00:00 2001 From: Jonathan Sick Date: Tue, 30 Nov 2021 11:14:01 -0500 Subject: [PATCH] Enabled ExtractOutputPreprocessor This preprocessor moves figures out of the HTML output. They should still upload normally to github-pages though, because we capture and upload the build artifact as a whole directory rather than file-by-file. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a5354bc4..56b3bcf3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: - name: Convert the notebooks to HTML run: | - nbcollection convert --flatten --build-path=. -v --make-index --index-template=templates/index.tpl tutorials --exclude=conesearch # TODO: remove this exclude! + nbcollection convert --flatten --build-path=. -v --make-index --preprocessors=nbconvert.preprocessors.ExtractOutputPreprocessor --index-template=templates/index.tpl tutorials --exclude=conesearch # TODO: remove this exclude! - name: Name artifact id: nameartifact