rebuild doc