Added code to generate funny error pages, because of course I did. Switched the API generation code to use output_path.
Added code to generate funny error pages, because of course I did. Switched the API generation code to use output_path.

waferbaby/usesthis,waferbaby/usesthis,ivuk/usesthis,ivuk/usesthis