Add API docs.

Sources are generated by "make apidocs". The modules.txt file is
pulled into index.txt.