Revamp doc index

Fixes #14972
auto merge of #16827 : steveklabnik/rust/fix_doc_index, r=brson

Fixes #14972