@@ -14,12 +14,10 @@ Python packaging standards ([PEP
1414lives in the standard ` [project] ` section, while nbdev-specific settings
1515go in ` [tool.nbdev] ` .
1616
17- ** Migrating from nbdev2:** Run
18- [ ` nbdev_migrate_config ` ] ( https://nbdev.fast.ai/api/migrate.html#nbdev_migrate_config )
19- in your project root to automatically convert your ` settings.ini ` to
20- ` pyproject.toml ` and update your GitHub Actions workflows to use
21- nbdev3-compatible versions. Your existing notebooks and code don’t need
22- any changes.
17+ ** Migrating from nbdev2:** Run ` nbdev-migrate-config ` in your project
18+ root to automatically convert your ` settings.ini ` to ` pyproject.toml `
19+ and update your GitHub Actions workflows to use nbdev3-compatible
20+ versions. Your existing notebooks and code don’t need any changes.
2321
2422` nbdev ` is a notebook-driven development platform. Simply write
2523notebooks with lightweight markup and get high-quality documentation,
@@ -42,8 +40,7 @@ practices because tests and documentation are first class.
4240- ** Two-way sync between notebooks and plaintext source code** allowing
4341 you to use your IDE for code navigation or quick edits. Sync is
4442 robust: each exported cell is tagged with its unique notebook cell ID,
45- so [ ` nbdev_update ` ] ( https://nbdev.fast.ai/api/sync.html#nbdev_update )
46- always updates the correct cell
43+ so ` nbdev-update ` always updates the correct cell
4744- ** Tests** written as ordinary notebook cells are run in parallel with
4845 a single command
4946- ** Continuous integration** out-of-the-box with [ GitHub
@@ -85,47 +82,47 @@ walkthrough](https://youtu.be/67FdzLSt4aA) with coding sections sped up
8582using the ` unsilence ` Python library – it’s 27 minutes faster, but a bit
8683harder to follow.
8784
88- You can also run ` nbdev_help ` from the terminal to see the full list of
85+ You can also run ` nbdev-help ` from the terminal to see the full list of
8986available commands:
9087
9188``` python
92- ! nbdev_help
89+ ! nbdev - help
9390```
9491
95- nb_export Export a single nbdev notebook to a python script.
96- nbdev_bump_version Increment version in __init__.py by one
97- nbdev_changelog Create a CHANGELOG.md file from closed and labeled GitHub issues
98- nbdev_clean Clean all notebooks in `fname` to avoid merge conflicts
99- nbdev_conda Create a `meta.yaml` file ready to be built into a package, and optionally build and upload it
100- nbdev_contributing Create CONTRIBUTING.md from contributing_nb (defaults to 'contributing.ipynb' if present). Skips if the file doesn't exist.
101- nbdev_create_config Create a pyproject.toml config file.
102- nbdev_docs Create Quarto docs and README.md
103- nbdev_export Export notebooks in `path` to Python modules
104- nbdev_filter A notebook filter for Quarto
105- nbdev_fix Create working notebook from conflicted notebook `nbname`
106- nbdev_help Show help for all console scripts
107- nbdev_install Install Quarto and the current library
108- nbdev_install_hooks Install Jupyter and git hooks to automatically clean, trust, and fix merge conflicts in notebooks
109- nbdev_install_quarto Install latest Quarto on macOS or Linux, prints instructions for Windows
110- nbdev_merge Git merge driver for notebooks
111- nbdev_migrate Convert all markdown and notebook files in `path` from v1 to v2
112- nbdev_migrate_config Migrate settings.ini to pyproject.toml
113- nbdev_new Create an nbdev project.
114- nbdev_prepare Export, test, and clean notebooks, and render README if needed
115- nbdev_preview Preview docs locally
116- nbdev_proc_nbs Process notebooks in `path` for docs rendering
117- nbdev_pypi Create and upload Python package to PyPI
118- nbdev_readme Create README.md from readme_nb (index.ipynb by default)
119- nbdev_release_both Release both conda and PyPI packages
120- nbdev_release_gh Calls `nbdev_changelog`, lets you edit the result, then pushes to git and calls `nbdev_release_git`
121- nbdev_release_git Tag and create a release in GitHub for the current version
122- nbdev_requirements Writes a `requirements.txt` file to `directory` based on pyproject.toml.
123- nbdev_sidebar Create sidebar.yml
124- nbdev_test Test in parallel notebooks matching `path`, passing along `flags`
125- nbdev_trust Trust notebooks matching `fname`.
126- nbdev_update Propagate change in modules matching `fname` to notebooks that created them
127- nbdev_update_license Allows you to update the license of your project.
128- watch_export Use `nb_export` on ipynb files in `nbs` directory on changes using nbdev config if available
92+ nb-export Export a single nbdev notebook to a python script.
93+ nbdev-bump-version Increment version in __init__.py by one
94+ nbdev-changelog Create a CHANGELOG.md file from closed and labeled GitHub issues
95+ nbdev-clean Clean all notebooks in `fname` to avoid merge conflicts
96+ nbdev-conda Create a `meta.yaml` file ready to be built into a package, and optionally build and upload it
97+ nbdev-contributing Create CONTRIBUTING.md from contributing_nb (defaults to 'contributing.ipynb' if present). Skips if the file doesn't exist.
98+ nbdev-create-config Create a pyproject.toml config file.
99+ nbdev-docs Create Quarto docs and README.md
100+ nbdev-export Export notebooks in `path` to Python modules
101+ nbdev-filter A notebook filter for Quarto
102+ nbdev-fix Create working notebook from conflicted notebook `nbname`
103+ nbdev-help Show help for all console scripts
104+ nbdev-install Install Quarto and the current library
105+ nbdev-install-hooks Install Jupyter and git hooks to automatically clean, trust, and fix merge conflicts in notebooks
106+ nbdev-install-quarto Install latest Quarto on macOS or Linux, prints instructions for Windows
107+ nbdev-merge Git merge driver for notebooks
108+ nbdev-migrate Convert all markdown and notebook files in `path` from v1 to v2
109+ nbdev-migrate-config Migrate settings.ini to pyproject.toml
110+ nbdev-new Create an nbdev project.
111+ nbdev-prepare Export, test, and clean notebooks, and render README if needed
112+ nbdev-preview Preview docs locally
113+ nbdev-proc-nbs Process notebooks in `path` for docs rendering
114+ nbdev-pypi Create and upload Python package to PyPI
115+ nbdev-readme Create README.md from readme_nb (index.ipynb by default)
116+ nbdev-release-both Release both conda and PyPI packages
117+ nbdev-release-gh Calls `nbdev_changelog`, lets you edit the result, then pushes to git and calls `nbdev_release_git`
118+ nbdev-release-git Tag and create a release in GitHub for the current version
119+ nbdev-requirements Writes a `requirements.txt` file to `directory` based on pyproject.toml.
120+ nbdev-sidebar Create sidebar.yml
121+ nbdev-test Test in parallel notebooks matching `path`, passing along `flags`
122+ nbdev-trust Trust notebooks matching `fname`.
123+ nbdev-update Propagate change in modules matching `fname` to notebooks that created them
124+ nbdev-update-license Allows you to update the license of your project.
125+ watch-export Use `nb_export` on ipynb files in `nbs` directory on changes using nbdev config if available
129126
130127## FAQ
131128
@@ -204,8 +201,7 @@ strive to abide by generally accepted best practices in open-source
204201software development.
205202
206203Make sure you have ` nbdev ` ’s git hooks installed by running
207- [ ` nbdev_install_hooks ` ] ( https://nbdev.fast.ai/api/clean.html#nbdev_install_hooks )
208- in the cloned repository.
204+ ` nbdev-install-hooks ` in the cloned repository.
209205
210206## Copyright
211207
0 commit comments