now generates dir listing (mini toc) for each directory.

Also, dirs in toc are links now.