|
1 | 1 | #!/bin/bash
|
2 | 2 |
|
| 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 | + |
3 | 11 | # Install and enable Jupyter nbextensions
|
4 | 12 | # https://github.com/binder-examples/jupyter-extension
|
5 | 13 | # 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 |
12 | 20 |
|
13 | 21 | # Install and enable Jupyter lab extensions
|
14 | 22 | echo postBuild: Installing Jupyter Lab extensions...
|
15 | 23 | 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 |
19 | 26 |
|
20 | 27 | # Install grcov
|
21 | 28 | echo postBuild: Installing grcov...
|
22 | 29 | cargo install grcov
|
23 | 30 |
|
24 |
| -# Install mermaid |
| 31 | +# # Install mermaid |
25 | 32 | echo postBuild: Installing mermaid...
|
26 |
| -npm i -g mermaid |
| 33 | +npm i mermaid |
27 | 34 |
|
28 | 35 | # run matplotlib once to generate the font cache
|
29 | 36 | echo postBuild: Generating matplotlib font cache...
|
|
0 commit comments