Updated documentation source files

Added auto-generated API source files and changed other source files to
txt files.