Skip to content

Commit

Permalink
rename addkernel -> installkernel
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jul 14, 2017
1 parent 92aedf9 commit ebeb254
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deps/build.jl
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion src/IJulia.jl
Expand Up @@ -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
Expand Down

0 comments on commit ebeb254

Please sign in to comment.