For generating API documentation - programmers documentation - has been used Javadoc and Doxygen tools.
Javadoc is a tool for generating API documentation in HTML format from doc comments in source code.
Doxygen is the de facto standard tool for generating documentation from annotated C++ sources, but it also supports other popular programming languages such as C#.