I am trying to provide a convenience function for the users of my package that launchs Jupyter notebook examples from the command line without depending on IJulia:
module Foo # ... function examples() using IJulia notebook(dir=joinpath(@__DIR__,"examples")) end end
The user would then launch the examples with “Foo.examples()” from the Julia prompt. The code above doesn’t work because we are not allowed to have
using statements inside of functions. Is there any solution around this?
I believe that we would benefit from having reproducible examples in Julia packages via a standardized process. Is there anything happening with this regards already?