more changes to build process for doc pages on server