Add profile for doc build. Use -Pwith-doc to build doc.