✨ NEW: Add inline execution mode and eval role/directive, for inserting code variables directly into the text flow of your documentation!
See Inline variable evaluation for more information.
This release encompasses a major rewrite of the entire library and its documentation, primarily in #380 and #405.
Breaking Changes ‼️
Configuration
A number of configuration option names have been changed, such that they now share the nb_ prefix.
Most of the deprecated names will be auto-converted at the start of the build, emitting a warning such as:
WARNING: 'jupyter_execute_notebooks' is deprecated for 'nb_execution_mode' [mystnb.config]
nb_render_priority has been removed and replaced by nb_mime_priority_overrides, which has a different format and is more flexible. See Outputs MIME priority for more information.
As per the changes in myst_parser, the dollarmath syntax extension is no longer included by default.
To re-add this extension, ensure that it is specified in your conf.py: myst_enable_extensions = ["dollarmath"].
For cell-level configuration the top-level key render has now been deprecated for mystnb.
For example, replace:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps myst-nb from 0.13.2 to 0.15.0.
Release notes
Sourced from myst-nb's releases.
Changelog
Sourced from myst-nb's changelog.
... (truncated)
Commits
5e2d59c
🔀 MERGE: Add inline execution and variable evaluation (#414)57c3a87
🚀 RELEASE: v0.15.000b457d
đź“š DOCS: Add "Inline variable evaluation" page2ba8690
✨ NEW: Addeval
roles/directivesc036f54
đź‘Ś IMPROVE: Move ipywidgets state extraction to end of render86be2ab
✨ NEW: Add "inline" execution mode8bd876c
♻️ REFACTOR: Split execution methods into clientsae5efb0
♻️ REFACTOR: Allow for lazy execution517a56a
đź“š DOCS: Add CSS heading numbering20f8846
🧪 TESTS: Fix docutils logger handlerDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)