rebuild doc index