Fix creation of library doc index, and put the library docs in bindists