Generate a Table of Contents for Multiple .ipynb Files

I keep my learning records and boilerplates as a cheat sheet collection on my GitHub ([Repository](https://github.com/atsukoba/cheatbooks)), and I save multiple notebooks directly under the same directory. So, I wrote a script to extract the parts written in Markdown within each of those notebooks.


I keep my learning records and boilerplates as a cheat sheet collection on my GitHub (Repository), and I save multiple notebooks directly under the same directory. So, I wrote a script to extract the parts written in Markdown within each of those notebooks.

Usage

1% python nb_table_generator.py

or

1import nb_table_generator
2
3nb_table_generator.main(file_name="output_file_name")

src