Skip to content

Commit cef290e

Browse files
committed
add more useful msg to nbdev_export
1 parent 0c55cc4 commit cef290e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

‎nbdev/doclinks.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ def nbdev_export(
144144
"Export notebooks in `path` to Python modules"
145145
if os.environ.get('IN_TEST',0): return
146146
if not is_nbdev(): raise Exception('`nbdev_export` must be called from a directory within a nbdev project.')
147-
path = Path(path or get_config().nbs_path)
148147
if procs:
149148
import nbdev.export
150149
procs = [getattr(nbdev.export, p) for p in L(procs)]

‎nbs/api/05_doclinks.ipynb‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@
363363
" \"Export notebooks in `path` to Python modules\"\n",
364364
" if os.environ.get('IN_TEST',0): return\n",
365365
" if not is_nbdev(): raise Exception('`nbdev_export` must be called from a directory within a nbdev project.')\n",
366-
" path = Path(path or get_config().nbs_path)\n",
367366
" if procs:\n",
368367
" import nbdev.export\n",
369368
" procs = [getattr(nbdev.export, p) for p in L(procs)]\n",

0 commit comments

Comments
 (0)