Skip to content

Commit

Permalink
revert #1390
Browse files Browse the repository at this point in the history
  • Loading branch information
jph00 committed Apr 28, 2024
1 parent 9d31709 commit 2a3c007
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
16 changes: 2 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
Getting Started
================
# Getting Started

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

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

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

</div>

`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!
Expand Down Expand Up @@ -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:

<div style="text-align: center">

<div>

<a href="http://www.youtube.com/watch?v=l7zS8Ld4_iA" target="_blank"
title="nbdev walkthrough"><img
src="https://github.com/fastai/logos/raw/main/nbdev_walkthrough.png"
style="border-radius: 10px" width="560" height="315" /></a>

</div>

</div>

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
Expand Down
4 changes: 2 additions & 2 deletions nbdev/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions nbs/api/17_serve.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2a3c007

Please sign in to comment.