nbdev/cli.py
def _get_title(fname):
    "Grabs the title of html file `fname`"
    with open(fname, 'r') as f: code = f.read()
    src =  _re_catch_title.search(code)
    return fname.stem if src is None else src.groups()[0]
Grabs the title of html file `fname`
Grabs the title of html file `fname`
Grabs the title of html file ` fname `
def _get_title(fname):
    with open(fname, 'r') as f: code = f.read()
    src =  _re_catch_title.search(code)
    return fname.stem if src is None else src.groups()[0]
def _get_title ( fname ) : with open ( fname , 'r' ) as f : code = f . read ( ) src = _re_catch_title . search ( code ) return fname . stem if src is None else src . groups ( ) [ 0 ]
Grabs the title of html file `fname`
Grabs the title of html file ` fname `
"Grabs the title of html file `fname`"
fname