add doc's index