File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -777,6 +777,26 @@ $(HTML_TARGET)book.html: $(FULLS) $(BIB) $(PUBLISH_PLUGINS)
777777endif
778778
779779
780+ # # Jupyter Book (experimental)
781+ JUPYTER_BOOK = jupyter-book
782+ jb jupyter-book : $(JB_LINKS ) _build/index.html
783+ jb-links : $(JB_LINKS )
784+
785+ JB_LINKS = $(FULL_NOTEBOOKS ) /_config.yml $(FULL_NOTEBOOKS ) /_toc.yml $(FULL_NOTEBOOKS ) /_build
786+
787+ $(FULL_NOTEBOOKS ) /_config.yml : _config.yml
788+ cd $(FULL_NOTEBOOKS ) ; ln -s ../_config.yml .
789+
790+ $(FULL_NOTEBOOKS ) /_toc.yml : _toc.yml
791+ cd $(FULL_NOTEBOOKS ) ; ln -s ../_toc.yml .
792+
793+ $(FULL_NOTEBOOKS ) /_build : _build
794+ cd $(FULL_NOTEBOOKS ) ; ln -s ../_build .
795+
796+ _build/index.html : $(FULLS )
797+ cd $(FULL_NOTEBOOKS ) ; $(JUPYTER_BOOK ) build .
798+
799+
780800# # Some checks
781801
782802# Style checks
You can’t perform that action at this time.
0 commit comments