Skip to content

Commit

Permalink
fixes #1085
Browse files Browse the repository at this point in the history
  • Loading branch information
jph00 committed Sep 16, 2022
1 parent e201492 commit 2400374
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion nbdev/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.3.3"
__version__ = "2.3.4"

from .doclinks import nbdev_export
from .showdoc import show_doc
Expand Down
3 changes: 2 additions & 1 deletion nbdev/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def _is_qpy(path:Path):

# %% ../nbs/api/serve.ipynb 5
def _proc_file(s, cache, path, mtime=None):
if not s.is_file() or any(o[0]=='.' or o=='_proc' for o in s.parts): return
skips = ('_proc', '_docs', '_site')
if not s.is_file() or any(o[0]=='.' or o in skips for o in s.parts): return
d = cache/s.relative_to(path)
if s.suffix=='.py': d = d.with_suffix('')
if d.exists():
Expand Down
3 changes: 2 additions & 1 deletion nbs/api/serve.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
"source": [
"#|export\n",
"def _proc_file(s, cache, path, mtime=None):\n",
" if not s.is_file() or any(o[0]=='.' or o=='_proc' for o in s.parts): return\n",
" skips = ('_proc', '_docs', '_site')\n",
" if not s.is_file() or any(o[0]=='.' or o in skips for o in s.parts): return\n",
" d = cache/s.relative_to(path)\n",
" if s.suffix=='.py': d = d.with_suffix('')\n",
" if d.exists():\n",
Expand Down
4 changes: 2 additions & 2 deletions settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ author = Jeremy Howard and Hamel Husain
author_email = [email protected]
branch = master
min_python = 3.7
version = 2.3.3
version = 2.3.4
audience = Developers
language = English
custom_sidebar = True
license = apache2
status = 2
requirements = fastcore>=1.5.24 execnb>=0.1.3 astunparse ghapi>=1.0.3 watchdog asttokens
requirements = fastcore>=1.5.26 execnb>=0.1.3 astunparse ghapi>=1.0.3 watchdog asttokens
pip_requirements = PyYAML
conda_requirements = pyyaml
conda_user = fastai
Expand Down

0 comments on commit 2400374

Please sign in to comment.