Fixing the table of contents generation, since the structure of the tree has changed
Merge pull request #91 from khandelwal/master

Fixing table of contents, since we've added subparts