Skip to content

Commit 2400374

Browse files
committed
fixes #1085
1 parent e201492 commit 2400374

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

nbdev/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.3.3"
1+
__version__ = "2.3.4"
22

33
from .doclinks import nbdev_export
44
from .showdoc import show_doc

nbdev/serve.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def _is_qpy(path:Path):
3434

3535
# %% ../nbs/api/serve.ipynb 5
3636
def _proc_file(s, cache, path, mtime=None):
37-
if not s.is_file() or any(o[0]=='.' or o=='_proc' for o in s.parts): return
37+
skips = ('_proc', '_docs', '_site')
38+
if not s.is_file() or any(o[0]=='.' or o in skips for o in s.parts): return
3839
d = cache/s.relative_to(path)
3940
if s.suffix=='.py': d = d.with_suffix('')
4041
if d.exists():

nbs/api/serve.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@
8686
"source": [
8787
"#|export\n",
8888
"def _proc_file(s, cache, path, mtime=None):\n",
89-
" if not s.is_file() or any(o[0]=='.' or o=='_proc' for o in s.parts): return\n",
89+
" skips = ('_proc', '_docs', '_site')\n",
90+
" if not s.is_file() or any(o[0]=='.' or o in skips for o in s.parts): return\n",
9091
" d = cache/s.relative_to(path)\n",
9192
" if s.suffix=='.py': d = d.with_suffix('')\n",
9293
" if d.exists():\n",

settings.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ author = Jeremy Howard and Hamel Husain
99
author_email = [email protected]
1010
branch = master
1111
min_python = 3.7
12-
version = 2.3.3
12+
version = 2.3.4
1313
audience = Developers
1414
language = English
1515
custom_sidebar = True
1616
license = apache2
1717
status = 2
18-
requirements = fastcore>=1.5.24 execnb>=0.1.3 astunparse ghapi>=1.0.3 watchdog asttokens
18+
requirements = fastcore>=1.5.26 execnb>=0.1.3 astunparse ghapi>=1.0.3 watchdog asttokens
1919
pip_requirements = PyYAML
2020
conda_requirements = pyyaml
2121
conda_user = fastai

0 commit comments

Comments
 (0)