Update build script for documentation