Added support for storing information to build a module index.

Enhance the "theindex" environment to add an entry to the table of contents.
1 file changed