build doc etc