replace index with doc.html