Fixed documentation build script
Build documentation templates