Add doc to index.