Skip to content

Commit 2a3c007

Browse files
committedApr 28, 2024
revert #1390
1 parent 9d31709 commit 2a3c007

File tree

3 files changed

+6
-18
lines changed

3 files changed

+6
-18
lines changed
 

‎README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
Getting Started
2-
================
1+
# Getting Started
32

4-
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
53

6-
<div>
4+
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
75

86
![CI](https://github.com/fastai/nbdev/actions/workflows/test.yaml/badge.svg)
97

10-
</div>
11-
128
`nbdev` is a notebook-driven development platform. Simply write
139
notebooks with lightweight markup and get high-quality documentation,
1410
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
6662
[written walkthrough](https://nbdev.fast.ai/tutorials/tutorial.html) or
6763
video walkthrough:
6864

69-
<div style="text-align: center">
70-
71-
<div>
72-
7365
<a href="http://www.youtube.com/watch?v=l7zS8Ld4_iA" target="_blank"
7466
title="nbdev walkthrough"><img
7567
src="https://github.com/fastai/logos/raw/main/nbdev_walkthrough.png"
7668
style="border-radius: 10px" width="560" height="315" /></a>
7769

78-
</div>
79-
80-
</div>
81-
8270
Alternatively, there’s a [shortened version of the video
8371
walkthrough](https://youtu.be/67FdzLSt4aA) with coding sections sped up
8472
using the `unsilence` Python library – it’s 27 minutes faster, but a bit

‎nbdev/serve.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def proc_nbs(
6262
cfg = get_config()
6363
cache = cfg.config_path/'_proc'
6464
path = Path(path or cfg.nbs_path)
65-
files = nbglob(path, func=Path, file_glob=file_glob, file_re=file_re, **kwargs)
65+
files = nbglob(path, func=Path, file_glob='', file_re='', **kwargs)
6666
if (path/'_quarto.yml').exists(): files.append(path/'_quarto.yml')
67-
if (path/'_extensions').exists(): files.extend(nbglob(path/'_extensions', func=Path, file_glob=file_glob, file_re=file_re, skip_file_re='^[.]'))
67+
if (path/'_extensions').exists(): files.extend(nbglob(path/'_extensions', func=Path, file_glob='', file_re='', skip_file_re='^[.]'))
6868

6969
# If settings.ini or filter script newer than cache folder modified, delete cache
7070
chk_mtime = max(cfg.config_file.stat().st_mtime, Path(__file__).stat().st_mtime)

‎nbs/api/17_serve.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@
138138
" cfg = get_config()\n",
139139
" cache = cfg.config_path/'_proc'\n",
140140
" path = Path(path or cfg.nbs_path)\n",
141-
" files = nbglob(path, func=Path, file_glob=file_glob, file_re=file_re, **kwargs)\n",
141+
" files = nbglob(path, func=Path, file_glob='', file_re='', **kwargs)\n",
142142
" if (path/'_quarto.yml').exists(): files.append(path/'_quarto.yml')\n",
143-
" if (path/'_extensions').exists(): files.extend(nbglob(path/'_extensions', func=Path, file_glob=file_glob, file_re=file_re, skip_file_re='^[.]'))\n",
143+
" if (path/'_extensions').exists(): files.extend(nbglob(path/'_extensions', func=Path, file_glob='', file_re='', skip_file_re='^[.]'))\n",
144144
"\n",
145145
" # If settings.ini or filter script newer than cache folder modified, delete cache\n",
146146
" chk_mtime = max(cfg.config_file.stat().st_mtime, Path(__file__).stat().st_mtime)\n",

0 commit comments

Comments
 (0)