nbdev/cli.py
def make_readme():
    "Convert the index notebook to README.md"
    index_fn = None
    for f in Config().nbs_path.glob('*.ipynb'):
        if _re_index.match(f.name): index_fn = f
    assert index_fn is not None, "Could not locate index notebook"
    convert_md(index_fn, Config().config_file.parent, jekyll=False)
    n = Config().config_file.parent/index_fn.with_suffix('.md').name
    shutil.move(n, Config().config_file.parent/'README.md')
Convert the index notebook to README.md
Convert the index notebook to README.md
Convert the index notebook to README . md
def make_readme():
    index_fn = None
    for f in Config().nbs_path.glob('*.ipynb'):
        if _re_index.match(f.name): index_fn = f
    assert index_fn is not None, "Could not locate index notebook"
    convert_md(index_fn, Config().config_file.parent, jekyll=False)
    n = Config().config_file.parent/index_fn.with_suffix('.md').name
    shutil.move(n, Config().config_file.parent/'README.md')
def make_readme ( ) : index_fn = None for f in Config ( ) . nbs_path . glob ( '*.ipynb' ) : if _re_index . match ( f . name ) : index_fn = f assert index_fn is not None , "Could not locate index notebook" convert_md ( index_fn , Config ( ) . config_file . parent , jekyll = False ) n = Config ( ) . config_file . parent / index_fn . with_suffix ( '.md' ) . name shutil . move ( n , Config ( ) . config_file . parent / 'README.md' )
Convert the index notebook to README.md
Convert the index notebook to README . md
"Convert the index notebook to README.md"