|
1 | 1 | #!/bin/bash
|
2 | 2 |
|
3 | 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 |
| 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 | 10 |
|
11 | 11 | # Install and enable Jupyter nbextensions
|
12 | 12 | # https://github.com/binder-examples/jupyter-extension
|
13 | 13 | # https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.html
|
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 |
| 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 |
20 | 20 |
|
21 | 21 | # Install and enable Jupyter lab extensions
|
22 | 22 | echo postBuild: Installing Jupyter Lab extensions...
|
23 | 23 | pip install jupyterlab-markup # Mermaid in Jupyter Lab
|
24 |
| -jupyter labextension enable @agoose77/jupyterlab-markup |
25 |
| -jupyter labextension install jupyterlab-cell-flash |
26 |
| -jupyter labextension list |
| 24 | +pip install jupyterlab-cell-flash |
| 25 | +jupyter lab build |
27 | 26 |
|
28 | 27 | # Install grcov
|
29 | 28 | echo postBuild: Installing grcov...
|
30 | 29 | cargo install grcov
|
31 | 30 |
|
32 |
| -# Install mermaid |
| 31 | +# # Install mermaid |
33 | 32 | echo postBuild: Installing mermaid...
|
34 |
| -npm i -g mermaid |
| 33 | +npm i mermaid |
35 | 34 |
|
36 | 35 | # run matplotlib once to generate the font cache
|
37 | 36 | echo postBuild: Generating matplotlib font cache...
|
|
0 commit comments