nbdev
nbdev copied to clipboard
`proc_nbs` does not make use of its arguments `file_glob` and `file_re`
Currently the arguments file_glob and file_re are not being used in nbdev.serve.proc_nbs. See the code below
def proc_nbs(
path:str='', # Path to notebooks
n_workers:int=defaults.cpus, # Number of workers
force:bool=False, # Ignore cache and build all
file_glob:str='', # Only include files matching glob
file_re:str='', # Only include files matching glob
**kwargs):
# ... code ...
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_re='', skip_file_re='^[.]'))
# ... code ...