##// END OF EJS Templates
add language key to kernelspec doc
Min RK -
Show More
@@ -112,6 +112,11 b' JSON serialised dictionary containing the following keys and values:'
112 112 - **display_name**: The kernel's name as it should be displayed in the UI.
113 113 Unlike the kernel name used in the API, this can contain arbitrary unicode
114 114 characters.
115 - **language**: The name of the language of the kernel.
116 When loading notebooks, if no matching kernelspec key (may differ across machines)
117 is found, a kernel with a matching `language` will be used.
118 This allows a notebook written on any Python or Julia kernel to be properly associated
119 with the user's Python or Julia kernel, even if they aren't listed under the same name as the author's.
115 120 - **env** (optional): A dictionary of environment variables to set for the kernel.
116 121 These will be added to the current environment variables before the kernel is
117 122 started.
@@ -121,7 +126,8 b' For example, the kernel.json file for IPython looks like this::'
121 126 {
122 127 "argv": ["python3", "-c", "from IPython.kernel.zmq.kernelapp import main; main()",
123 128 "-f", "{connection_file}"],
124 "display_name": "IPython (Python 3)"
129 "display_name": "IPython (Python 3)",
130 "language": "python"
125 131 }
126 132
127 133 To see the available kernel specs, run::
General Comments 0
You need to be logged in to leave comments. Login now