diff --git a/README.md b/README.md index 4d9a06686..84aceab25 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,10 @@ -Getting Started -================ +# Getting Started - -
+ ![CI](https://github.com/fastai/nbdev/actions/workflows/test.yaml/badge.svg) -
- `nbdev` is a notebook-driven development platform. Simply write notebooks with lightweight markup and get high-quality documentation, tests, continuous integration, and packaging for free! @@ -66,19 +62,11 @@ The best way to learn how to use nbdev is to complete either the [written walkthrough](https://nbdev.fast.ai/tutorials/tutorial.html) or video walkthrough: -
- -
- -
- -
- Alternatively, there’s a [shortened version of the video walkthrough](https://youtu.be/67FdzLSt4aA) with coding sections sped up using the `unsilence` Python library – it’s 27 minutes faster, but a bit diff --git a/nbdev/serve.py b/nbdev/serve.py index db0907acd..75cfe8e4c 100644 --- a/nbdev/serve.py +++ b/nbdev/serve.py @@ -62,9 +62,9 @@ def proc_nbs( cfg = get_config() cache = cfg.config_path/'_proc' path = Path(path or cfg.nbs_path) - files = nbglob(path, func=Path, file_glob=file_glob, file_re=file_re, **kwargs) + files = nbglob(path, func=Path, file_glob='', file_re='', **kwargs) if (path/'_quarto.yml').exists(): files.append(path/'_quarto.yml') - if (path/'_extensions').exists(): files.extend(nbglob(path/'_extensions', func=Path, file_glob=file_glob, file_re=file_re, skip_file_re='^[.]')) + if (path/'_extensions').exists(): files.extend(nbglob(path/'_extensions', func=Path, file_glob='', file_re='', skip_file_re='^[.]')) # If settings.ini or filter script newer than cache folder modified, delete cache chk_mtime = max(cfg.config_file.stat().st_mtime, Path(__file__).stat().st_mtime) diff --git a/nbs/api/17_serve.ipynb b/nbs/api/17_serve.ipynb index 4cac6a6df..16d93d085 100644 --- a/nbs/api/17_serve.ipynb +++ b/nbs/api/17_serve.ipynb @@ -138,9 +138,9 @@ " cfg = get_config()\n", " cache = cfg.config_path/'_proc'\n", " path = Path(path or cfg.nbs_path)\n", - " files = nbglob(path, func=Path, file_glob=file_glob, file_re=file_re, **kwargs)\n", + " files = nbglob(path, func=Path, file_glob='', file_re='', **kwargs)\n", " if (path/'_quarto.yml').exists(): files.append(path/'_quarto.yml')\n", - " if (path/'_extensions').exists(): files.extend(nbglob(path/'_extensions', func=Path, file_glob=file_glob, file_re=file_re, skip_file_re='^[.]'))\n", + " if (path/'_extensions').exists(): files.extend(nbglob(path/'_extensions', func=Path, file_glob='', file_re='', skip_file_re='^[.]'))\n", "\n", " # If settings.ini or filter script newer than cache folder modified, delete cache\n", " chk_mtime = max(cfg.config_file.stat().st_mtime, Path(__file__).stat().st_mtime)\n",