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), 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
% python nb_table_generator.py
or
import nb_table_generator nb_table_generator.main(file_name="output_file_name")