1. glob srcPath 1. import doczrc extract menu 1. transform each file stripping the top config section append in the order provided by doczrc.menu 1. run the complete file through markdown-toc and append that to the top. 1. write the file to the outputPath