diff --git a/README.md b/README.md index e55e6598..24b18d7a 100644 --- a/README.md +++ b/README.md @@ -133,14 +133,14 @@ at the Julia command line (**important**: not in IJulia). You can also install additional Julia kernels, for example to pass alternative command-line arguments to the `julia` executable, -by using the `IJulia.addkernel` function. See the help for this -function (`? IJulia.addkernel` in Julia) for complete details. +by using the `IJulia.installkernel` function. See the help for this +function (`? IJulia.installkernel` in Julia) for complete details. For example, if you want to run Julia with all deprecation warnings disabled, you can do: ```julia using IJulia -IJulia.addkernel("Julia nodeps", "--depwarn=no") +IJulia.installkernel("Julia nodeps", "--depwarn=no") ``` and a kernel called `Julia nodeps 0.6` (if you are using Julia 0.6) will be installed (will show up in your main Jupyter kernel menu) that diff --git a/deps/build.jl b/deps/build.jl index 744107b0..c9d018b6 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -72,7 +72,7 @@ end # Install Jupyter kernel-spec file. include("kspec.jl") -kspec_cmd, = addkernel("Julia") +kspec_cmd, = installkernel("Julia") # figure out the notebook command by replacing (only!) the last occurrence of # "kernelspec" with "notebook": diff --git a/src/IJulia.jl b/src/IJulia.jl index d7d27762..51dd161d 100644 --- a/src/IJulia.jl +++ b/src/IJulia.jl @@ -33,7 +33,7 @@ The `IJulia` module is used in three ways: to the Jupyter server. """ module IJulia -export notebook, addkernel +export notebook, installkernel using ZMQ, JSON, Compat import Compat.invokelatest