Skip to content

Commit

Permalink
add more useful msg to nbdev_export
Browse files Browse the repository at this point in the history
  • Loading branch information
hamelsmu committed Sep 17, 2024
1 parent cef290e commit 74b2b23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nbs/api/05_doclinks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,8 @@
" if os.environ.get('IN_TEST',0): return\n",
" if not is_nbdev(): raise Exception('`nbdev_export` must be called from a directory within a nbdev project.')\n",
" if procs:\n",
" import nbdev.export\n",
" procs = [getattr(nbdev.export, p) for p in L(procs)]\n",
" import nbdev.export\n",
" procs = [getattr(nbdev.export, p) for p in L(procs)]\n",
" files = nbglob(path=path, as_path=True, **kwargs).sorted('name')\n",
" for f in files: nb_export(f, procs=procs)\n",
" add_init(get_config().lib_path)\n",
Expand Down

0 comments on commit 74b2b23

Please sign in to comment.