Skip to content

Commit 8a9c181

Browse files
Doc update
1 parent f39d903 commit 8a9c181

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

binder/postBuild

+18-11
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,36 @@
11
#!/bin/bash
22

3+
# Enable incompatible extensions
4+
# echo postBuild: Enabling incompatible Jupyter extensions...
5+
# NBCONFIG_PATH=$HOME/.jupyter/nbconfig
6+
# mkdir -p $NBCONFIG_PATH
7+
# echo '{
8+
# "nbext_hide_incompat": false
9+
# }' > $NBCONFIG_PATH/common.json
10+
311
# Install and enable Jupyter nbextensions
412
# https://github.com/binder-examples/jupyter-extension
513
# https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.html
6-
echo postBuild: Installing Jupyter extensions...
7-
jupyter contrib nbextension install --user
8-
jupyter nbextension enable toc2/main --user
9-
jupyter nbextension enable exercise2/main --user
10-
jupyter nbextensions_configurator enable --user
11-
jupyter nbextension list
14+
# echo postBuild: Installing Jupyter extensions...
15+
# jupyter contrib nbextension install --user
16+
# jupyter nbextension enable toc2/main --user
17+
# jupyter nbextension enable exercise2/main --user
18+
# jupyter nbextensions_configurator enable --user
19+
# jupyter nbextension list
1220

1321
# Install and enable Jupyter lab extensions
1422
echo postBuild: Installing Jupyter Lab extensions...
1523
pip install jupyterlab-markup # Mermaid in Jupyter Lab
16-
jupyter labextension enable @agoose77/jupyterlab-markup
17-
jupyter labextension install jupyterlab-cell-flash
18-
jupyter labextension list
24+
pip install jupyterlab-cell-flash
25+
jupyter lab build
1926

2027
# Install grcov
2128
echo postBuild: Installing grcov...
2229
cargo install grcov
2330

24-
# Install mermaid
31+
# # Install mermaid
2532
echo postBuild: Installing mermaid...
26-
npm i -g mermaid
33+
npm i mermaid
2734

2835
# run matplotlib once to generate the font cache
2936
echo postBuild: Generating matplotlib font cache...

0 commit comments

Comments
 (0)