The idea of auto-generating documentation is attractive to programmers for various reasons.
Respected computer scientist Donald Knuth has noted that documentation can be a very difficult afterthought process and has advocated literate programming, written at the same time and location as the source code and extracted by automatic means.