Added docs.
Updated document generating scripts.