Skip to content

feelpp/toolbox

Repository files navigation

Feel++ Toolbox Examples

Releases

Tools

feelpp_case_generator

generate skeleton of {feelpp} case documentation

Generate Jupyter notebooks

install asciidoctor-juptyer extension
$ npm i
execute the jupyter conversion
$ node_modules/.bin/asciidoctor -r asciidoctor-jupyter -b jupyter examples/modules/csm/pages/sensor/index.adoc

A file examples/modules/csm/pages/sensor/index.ipynb is generated and needs to be copied to ../attachments/sensor/

Then in the sensor/index.adoc file add

:page-jupyter: ../_attachments/sensor/index.ipynb

Upon site generation the download button allows to download the jupyter notebook.

Warning
I am currently investigating in generating the .ipynb automatically at site generation, we do not want to store in github the .ipynb files.