Updated doc's generation script and doc dirs in compliance with it