#45: Improved docs generating script.