Automated docs building. (script not final)