generates documentation for a html page