Skip to content

docs(jupyter): document configuring the kernel via deno.json#3365

Open
bartlomieju wants to merge 1 commit into
mainfrom
jupyter-deno-json-config
Open

docs(jupyter): document configuring the kernel via deno.json#3365
bartlomieju wants to merge 1 commit into
mainfrom
jupyter-deno-json-config

Conversation

@bartlomieju

Copy link
Copy Markdown
Member

The Jupyter kernel page only said the kernel always runs with --allow-all as
a temporary limitation, and didn't mention that a deno.json next to a
notebook configures the kernel. This adds a "Configuring the kernel" section
explaining that the kernel resolves deno.json from its working directory
(which frontends set to the notebook's directory), and documents enabling
unstable features via the unstable array and scoping a notebook's
permissions via a permissions.jupyter set. The top notice is reworded from a
permanent limitation to "allow-all by default, but configurable".

The unstable behavior already works today. The permissions.jupyter scoping
is added by denoland/deno#35587, so this page should land together with that
change.

Document that the Deno Jupyter kernel reads a `deno.json` resolved from its
working directory, and that a notebook placed next to a `deno.json` picks up
its unstable features and permissions. Add a "Configuring the kernel" section
covering the `unstable` array and the new `permissions.jupyter` set, and
soften the top notice from a permanent "always runs with --allow-all"
limitation to "allow-all by default, but configurable".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant