Good documentation can't be automated. It requires someone to carefully craft working examples of all the parameters and functions that are available, so you can copy/paste them into a program to try them out.
I'd expect at least two separate people are required... a writer and an editor.