Releases: AnswerDotAI/nbdev
Releases Β· AnswerDotAI/nbdev
v2.1.6
v2.1.4
New Features
- Add
custom_quarto_yml
setting (#842), thanks to @benoit-cty - Display multiline docstrings (#841)
- Include filename in
nbdev_export
warning when nbdev1 syntax is used (#835) - Streamline
nbdev_new
: outputs are now in color, you can pass--lib_name
, and it callsnbdev_export
(#820), thanks to @seeM - A command for uploading to the test pypi server (#818), thanks to @tourdownunder
- Include notebook title in
nbdev_preview
error message (#802) - Migrate collapsible code cell directives (#783), thanks to @hamelsmu
- Simplify
jupyter_hooks
configuration (#780), thanks to @seeM - Support
nbdev_install_hooks
in non-nbdev repos (#779), thanks to @seeM - Allow users to provide user-level settings in ~/.config/nbdev/settings.ini (#778), thanks to @seeM
- Support
nbdev_install_hooks
in non-nbdev repos (#777) - Port
doc()
from nbdev1 (#772) - Make
show_doc
for function parameter defaults concise and deterministic (#771) - Clean
id
from textrepr
outputs to further avoid git merge conflicts (#749) - Add repo root to sys path on exec (#735)
- Use frontmatter
eval
andshowdoc
for controlling notebook execution (#734)
Bugs Squashed
- #|exports directive does not show source code in the docs (#822)
- nbdev commands fail when
doc_path
contains whitespace (#813), thanks to @mone27 show_doc
html renderer is incorrectly formatted (#808)show_doc
cell output is incorrectly styled (#807)- links aren't rendered as code (#795), thanks to @seeM
clean_ids
corrupts string outputs (#794), thanks to @seeM- quarto frontmatter is removed (#789)
nbdev_merge
fails ongit stash pop
conflict (#787), thanks to @seeM- Hooks search Jupyter start directory instead of notebook directory for settings file (#784), thanks to @dleen
- Allow for dash in Quarto directives (#782), thanks to @hamelsmu
- Fix directive migration when there is no test flag (#781), thanks to @hamelsmu
nbdev_prepare
throws BrokenProcessPool error on MacOS (#731)- settings.ini not inferred by
nbdev_new
on newly cloned repo on MacOS (#710)
v2.1.2
New Features
- use global defaults instead of respecifying each time (#770), thanks to @seeM
get_config
works without a settings file (#768), thanks to @seeM- add site url (#767), thanks to @hamelsmu
- add
show_src
to display rich source code (#763), thanks to @seeM - add support for
#|exports
(#762) nbdev_merge
prints info likegit merge
(#753)- helpers to convert fp front matter to quarto front matter (#750), thanks to @hamelsmu
- Streamline default settings (#747)
- Config keys (and their defaults) should all be documented in one place
- add
user
option tojupyter_hooks
setting (#738), thanks to @seeM - Add appropriate
output-file
to existing frontmatter (#728)
Bugs Squashed
nbdev_prepare
sometimes throws BrokenProcessPool error on MacOS (#731)- Incorrect relative import from package root inside nested module (#773)
- Jupyter hooks break in environments without
nbdev
installed (#760) nbdev_fix
breaks with emptyours
patch (#752)- fix
nbdev_merge
during rebase; fixnbdev_fix
nobackup
default (#737), thanks to @seeM - non-notebooks do not have nbformat field (#732), thanks to @dleen
v2.1.1
v2.1.0
v2.0.7
New Features
- git merge hooks: automatically resolve conflicts and render markers as separate cells (#704), thanks to @seeM
- Allow clean to keep some metadata keys (#672), thanks to @dleen
- enable mac terminal install instead of visual installer (#705), thanks to @hamelsmu
- Conditional content for markdown vs HTML for README (#694), thanks to @hamelsmu
- Export a single module (#652)
Bugs Squashed
- Re-enable Mac CI #425)