Documentation generator with HTML and LaTeX support